Merge branch 'master' of [email protected]:acess2
[tpg/acess2.git] / Kernel / arch / x86 / kpanic.c
index 1972fd3..798c513 100644 (file)
@@ -59,7 +59,9 @@ void KernelPanic_SetMode()
 {
         int    i;
        
-       // Some routines call this function twice, let's avoid that, shall we?
+       // This function is called by Panic(), but MM_PageFault and the
+       // CPU exception handers also call it, so let's not clear the screen
+       // twice
        if( giKP_Pos )  return ;
        
        // Restore VGA 0xB8000 text mode

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