From: John Hodge Date: Sun, 9 Feb 2014 01:38:51 +0000 (+0800) Subject: Kernel/debug - (minor) commenting X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=299be32b18208d103c915a7b5e93432065a3359d;p=tpg%2Facess2.git Kernel/debug - (minor) commenting --- diff --git a/KernelLand/Kernel/debug.c b/KernelLand/Kernel/debug.c index db67f496..5bcbcb8e 100644 --- a/KernelLand/Kernel/debug.c +++ b/KernelLand/Kernel/debug.c @@ -114,6 +114,7 @@ void Debug_FmtS(int bUseKTerm, const char *format, ...) void Debug_KernelPanic(void) { + // 5 nested panics? Fuck it if( gbDebug_IsKPanic > 5 ) HALT_CPU(); gbDebug_IsKPanic ++; @@ -124,7 +125,6 @@ void Debug_KernelPanic(void) #endif VT_SetTerminal(7); } - // 5 nested panics? Fuck it KernelPanic_SetMode(); }