🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.2bsd
Article #102

/boot,/mdec,[T]MSCP (Part 6 of 22)

#102
From: 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
  
  
Technical Details
Message-ID: <1991May18.062108.25520@wlbr.imsd.contel.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!decwrl!nsc!voder!wlbr!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!decwrl!nsc!voder!wlbr!news
From: sms@wlv.imsd.contel.com (Steven M. Schultz)
Newsgroups: comp.bugs.2bsd
Subject: /boot,/mdec,[T]MSCP (Part 6 of 22)
Message-ID: <1991May18.062108.25520@wlbr.imsd.contel.com>
Date: 18 May 91 06:21:08 GMT
Sender: news@wlbr.imsd.contel.com (news)
Organization: Contel Federal Systems
Lines: 57
Nntp-Posting-Host: wlv.imsd.contel.com