diff --git a/src/kernel/core/debug.c b/src/kernel/core/debug.c index 842242866f..ee0b370baa 100644 --- a/src/kernel/core/debug.c +++ b/src/kernel/core/debug.c @@ -258,6 +258,11 @@ panic(const char *fmt, ...) va_list args; char temp[128]; int state; + + // XXX by setting kernel_startup = true, we disable + // XXX the interrupt check in semaphore code etc. + // XXX should be renamed? + kernel_startup = true; dbg_set_serial_debug(true);