🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steven M. Schultz Sat, 18 May 1991 06:21
/boot,/mdec,[T]MSCP (Part 6 of 22)
#102
Author: Steven M. Schultz
Date: Sat, 18 May 1991 06:21
57 lines
1994 bytes
Subject: Part 6 of 22 /boot,/mdec,[T]MSCP updates
Index:	/sys/<many>, /usr/src/etc/<several> 2.11BSD

Description:
Repeat-By:
Fix:
	See part 0 (the README) for the Description, the Reason and
	the instructions on how update your system.

This is part 6 of 22

The booting device's CSR and unit number being passed from 'boot'
are saved for later use in a [auto]reboot.

*** /usr/src/sys/pdp/mch_start.s.old	Mon Jul  4 13:07:21 1988
--- /usr/src/sys/pdp/mch_start.s	Sat Apr 20 21:44:52 1991
***************
*** 64,69 ****
--- 64,71 ----
  	beq	1f
  	mov	$RB_SINGLE,r4		/   r4 = RB_SINGLE
  1:
+ 	mov	r1,_bootcsr		/ save boot controller csr
+ 	mov	r3,_bootdev		/ save boot device major,unit
  	mov	r4,_boothowto		/ save boot flags
  	mov	$_initflags+6,r2	/ get a pointer to the \0 in _initflags
  	mov	r4,r1			/ r1 = boot options
***************
*** 99,105 ****
   * Icode is copied out to process 1 to exec /etc/init.
   * If the exec fails, process 1 exits.
   */
! .globl	_initflags, _szicode, _boothowto
  
  ENTRY(icode)
  	mov	$argv-_icode,-(sp)
--- 101,107 ----
   * Icode is copied out to process 1 to exec /etc/init.
   * If the exec fails, process 1 exits.
   */
! .globl	_initflags, _szicode, _boothowto, _bootcsr, _bootdev
  
  ENTRY(icode)
  	mov	$argv-_icode,-(sp)
***************
*** 120,125 ****
--- 122,131 ----
  	_szicode-_icode
  _boothowto:
  	0				/ boot flags passed by boot
+ _bootdev:
+ 	0				/ boot major#,unit
+ _bootcsr:
+ 	0				/ csr of booting controller
  .text
  
  
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads