diff --git a/src/sys/kernel/kpanic.c b/src/sys/kernel/kpanic.c index 05143f6..4c33bd2 100644 --- a/src/sys/kernel/kpanic.c +++ b/src/sys/kernel/kpanic.c @@ -48,21 +48,25 @@ vaList args; vaStart(args, fmt); - vsprintf(buf,fmt,args); + vsprintf(buf, fmt, args); vaEnd(args); tty_foreground = NULL; // prevent printing on tty0, go to current. - kprintf("kPanic: %s",buf); + kprintf("kPanic: %s", buf); /* Halt The System */ asm("cli"); irqDisable(0x0); + while (1) asm("hlt"); } /*** $Log$ + Revision 1.11 2004/09/14 21:34:30 apwillia + Keep kpanic msg on current tty + Revision 1.10 2004/09/11 14:26:30 reddawg Oops why did i disable irq 1 irq 0 is the timer...