Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sun-lamp CVS commits



mycroft
Sun Nov  6 12:21:32 PST 1994
Update of /b/source/CVS/src/sys/arch/i386/i386
In directory sun-lamp.cs.berkeley.edu:/d/users/mycroft/src/sys/arch/i386/i386

Modified Files:
        locore.s 
Log Message:
Move the spl0() from the idle loop to the top of cpu_switch().  (This also
avoids needing to call spllower() below.)  Set curproc immediately after
removing the new process for the run queue, before allowing interrupts again.

mycroft
Sun Nov  6 12:28:59 PST 1994
Update of /b/source/CVS/src/sys/arch/i386/i386
In directory sun-lamp.cs.berkeley.edu:/d/users/mycroft/src/sys/arch/i386/i386

Modified Files:
        trap.c 
Log Message:
The case of curproc == 0 `can't happen' unless we're in the idle loop, so
allow it to panic by way of a reference to 0 in other cases.  Explicitly test
for p == 0 in the specific cases where it's needed, and only calculate pcb if
needed.



Home | Main Index | Thread Index | Old Index