Changeset 536 for Whitix/branches/hybrid/kernel
- Timestamp:
- 05/24/08 09:54:17 (6 months ago)
- Files:
-
- 1 modified
-
Whitix/branches/hybrid/kernel/panic.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/branches/hybrid/kernel/panic.c
r26 r536 17 17 */ 18 18 19 #include <module.h> 19 20 #include <panic.h> 20 21 #include <i386/i386.h> … … 36 37 void KernelPanic(char* message) 37 38 { 38 printf("An unrecoverable error has occured. Please restart your computer.\n "39 KePrint("An unrecoverable error has occured. Please restart your computer.\n " 39 40 "If the error occurs again, contact the developers, giving the information on this screen.\n"); 40 printf("KERNEL PANIC: %s. Halting machine.\n",message);41 KePrint("KERNEL PANIC: %s. Halting machine.\n",message); 41 42 MachineHalt(); 42 43 } 44 45 SYMBOL_EXPORT(KernelPanic);