SCCS-vsn: sys/hp300/hp300/locore.s 7.26
*
* 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%
- * 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
+ stop #PSL_LOWIPL
+Idle:
movw #PSL_HIGHIPL,sr
tstl _whichqs
movw #PSL_HIGHIPL,sr
tstl _whichqs
movw #PSL_LOWIPL,sr
jra Lsw1
movw #PSL_LOWIPL,sr
jra Lsw1
addqb #1,d0
cmpb #32,d0
jne Lswchk
addqb #1,d0
cmpb #32,d0
jne Lswchk
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...