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