Kernel - Cleaning up a little
[tpg/acess2.git] / Kernel / debug.c
index e0c7af8..e799f00 100644 (file)
@@ -213,10 +213,7 @@ void Panic(const char *Fmt, ...)
 
        Threads_Dump();
 
-//     __asm__ __volatile__ ("xchg %bx, %bx");
-//     __asm__ __volatile__ ("cli;\n\thlt");
-//     for(;;) __asm__ __volatile__ ("hlt");
-       for(;;) ;
+       for(;;) HALT();
 }
 
 void Debug_SetKTerminal(const char *File)
@@ -228,9 +225,9 @@ void Debug_SetKTerminal(const char *File)
                VFS_Close(tmp);
        }
        tmp = VFS_Open(File, VFS_OPENFLAG_WRITE);
-       Log_Log("Debug", "Opened '%s' as 0x%x", File, tmp);
+//     Log_Log("Debug", "Opened '%s' as 0x%x", File, tmp);
        giDebug_KTerm = tmp;
-       Log_Log("Debug", "Returning to %p", __builtin_return_address(0));
+//     Log_Log("Debug", "Returning to %p", __builtin_return_address(0));
 }
 
 void Debug_Enter(const char *FuncName, const char *ArgTypes, ...)

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