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:
parent
3b70f94330
commit
9eb6ed8082
@ -259,6 +259,11 @@ panic(const char *fmt, ...)
|
|||||||
char temp[128];
|
char temp[128];
|
||||||
int state;
|
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);
|
dbg_set_serial_debug(true);
|
||||||
|
|
||||||
state = disable_interrupts();
|
state = disable_interrupts();
|
||||||
|
Loading…
Reference in New Issue
Block a user