- 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:
Ben Gras
2009-10-03 11:30:35 +00:00
parent e716fae585
commit fe35879325
7 changed files with 19 additions and 3 deletions

View File

@@ -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__); \
} \