disable interrupt check when in a panic() context

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2104 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper 2002-11-28 14:11:08 +00:00
parent 3b70f94330
commit 9eb6ed8082

View File

@ -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);