Kernel/timers - Cleaning up timer code... might have made more mess
[tpg/acess2.git] / KernelLand / Kernel / arch / x86 / kpanic.c
index 9300c69..3e2ccac 100644 (file)
@@ -78,6 +78,8 @@ const struct {
 void KernelPanic_SetMode(void)
 {
         int    i;
+
+       __asm__ __volatile__ ("cli");   // Stop the processor!
        
        // This function is called by Panic(), but MM_PageFault and the
        // CPU exception handers also call it, so let's not clear the screen

UCC git Repository :: git.ucc.asn.au