8148b6ee53
nesting cli/sti: release shouldn't always enable interrupts separate setup of lapic from starting of other cpus, so cpu() works earlier flag to disable locking in console output make locks work even when curproc==0 (still crashes in clock interrupt)
7 lines
95 B
C
7 lines
95 B
C
struct spinlock {
|
|
unsigned int locked;
|
|
unsigned who;
|
|
int count;
|
|
unsigned locker_pc;
|
|
};
|