- panic if there's no runnable process
- more basic sanity check before recursive enter check (data segment) - try to jump to boot monitor instantly on recursive panic
This commit is contained in:
@@ -45,6 +45,9 @@
|
||||
static int varname = 0; \
|
||||
int mustunlock = 0; \
|
||||
if(!intr_disabled()) { lock; mustunlock = 1; } \
|
||||
if(magictest != MAGICTEST) { \
|
||||
minix_panic(#varname " magictest failed", __LINE__); \
|
||||
} \
|
||||
if(varname) { \
|
||||
minix_panic(#varname " recursive enter", __LINE__); \
|
||||
} \
|
||||
|
||||
Reference in New Issue
Block a user