add bootdev variable (not used by HP), rename openfirst to firstopen
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 6 May 1991 04:42:25 +0000 (20:42 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 6 May 1991 04:42:25 +0000 (20:42 -0800)
SCCS-vsn: sys/hp300/stand/srt0.c 7.3

usr/src/sys/hp300/stand/srt0.c

index 3423f32..ba5e949 100644 (file)
@@ -11,7 +11,7 @@
  *
  * from: Utah $Hdr: srt0.c 1.8 88/12/03$
  *
  *
  * from: Utah $Hdr: srt0.c 1.8 88/12/03$
  *
- *     @(#)srt0.c      7.2 (Berkeley) %G%
+ *     @(#)srt0.c      7.3 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -23,7 +23,8 @@
        .globl  _edata
        .globl  _main
        .globl  _configure
        .globl  _edata
        .globl  _main
        .globl  _configure
-       .globl  _openfirst
+       .globl  _bootdev
+       .globl  _firstopen
        .globl  __rtt
        .globl  _lowram,_howto,_devtype,_internalhpib
 
        .globl  __rtt
        .globl  _lowram,_howto,_devtype,_internalhpib
 
        NBPG =     4096
 
        .data
        NBPG =     4096
 
        .data
-_lowram:
+_bootdev:
+       .long   0
+_devtype:
        .long   0
 _howto:
        .long   0
        .long   0
 _howto:
        .long   0
-_devtype:
+_lowram:
        .long   0
 
        .text
        .long   0
 
        .text
@@ -104,7 +107,7 @@ clr:
        cmpl    a2,a3           | done?
        bne     clr             | no, keep going
        jsr     _configure      | configure critical devices
        cmpl    a2,a3           | done?
        bne     clr             | no, keep going
        jsr     _configure      | configure critical devices
-       movl    #1,_openfirst   | mark this as the first open
+       movl    #1,_firstopen   | mark this as the first open
        jsr     _main           | lets go
 __rtt:
        movl    #3,_howto       | restarts get RB_SINGLE|RB_ASKNAME
        jsr     _main           | lets go
 __rtt:
        movl    #3,_howto       | restarts get RB_SINGLE|RB_ASKNAME