git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel - Caught infinite kernel panics
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
debug.c
diff --git
a/KernelLand/Kernel/debug.c
b/KernelLand/Kernel/debug.c
index
2444cb1
..
c9a2964
100644
(file)
--- a/
KernelLand/Kernel/debug.c
+++ b/
KernelLand/Kernel/debug.c
@@
-120,6
+120,9
@@
void Debug_KernelPanic(void)
#endif
VT_SetTerminal(7);
}
+ // 5 nested panics? Fuck it
+ if( gbDebug_IsKPanic > 5 )
+ for(;;);
gbDebug_IsKPanic ++;
KernelPanic_SetMode();
}
UCC
git Repository :: git.ucc.asn.au