5be0039ce9
so fast interrupts overflow the kernel stack fix: cli() before lapic_eoi()
7 lines
91 B
C
7 lines
91 B
C
struct spinlock {
|
|
uint magic;
|
|
char *name;
|
|
uint locked;
|
|
int cpu;
|
|
uint pcs[10];
|
|
};
|