correctly define idle loop
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Mon, 10 May 1993 02:50:53 +0000 (18:50 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Mon, 10 May 1993 02:50:53 +0000 (18:50 -0800)
SCCS-vsn: sys/hp300/hp300/locore.s 7.26

usr/src/sys/hp300/hp300/locore.s

index d857c63..c59420c 100644 (file)
@@ -11,7 +11,7 @@
  *
  * from: Utah $Hdr: locore.s 1.66 92/12/22$
  *
  *
  * from: Utah $Hdr: locore.s 1.66 92/12/22$
  *
- *     @(#)locore.s    7.25 (Berkeley) %G%
+ *     @(#)locore.s    7.26 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -1537,16 +1537,16 @@ ENTRY(swtch_exit)
        jra     _cpu_swtch
 
 /*
        jra     _cpu_swtch
 
 /*
- * When no processes are on the runq, Swtch branches to idle
+ * When no processes are on the runq, Swtch branches to Idle
  * to wait for something to come ready.
  */
        .globl  idle
  * to wait for something to come ready.
  */
        .globl  idle
-Lidle:
-       stop    #PSL_LOWIPL
 idle:
 idle:
+       stop    #PSL_LOWIPL
+Idle:
        movw    #PSL_HIGHIPL,sr
        tstl    _whichqs
        movw    #PSL_HIGHIPL,sr
        tstl    _whichqs
-       jeq     Lidle
+       jeq     idle
        movw    #PSL_LOWIPL,sr
        jra     Lsw1
 
        movw    #PSL_LOWIPL,sr
        jra     Lsw1
 
@@ -1589,7 +1589,7 @@ Lswchk:
        addqb   #1,d0
        cmpb    #32,d0
        jne     Lswchk
        addqb   #1,d0
        cmpb    #32,d0
        jne     Lswchk
-       jra     idle
+       jra     Idle
 Lswfnd:
        movw    #PSL_HIGHIPL,sr         | lock out interrupts
        movl    a0@,d1                  | and check again...
 Lswfnd:
        movw    #PSL_HIGHIPL,sr         | lock out interrupts
        movl    a0@,d1                  | and check again...