Show
Ignore:
Timestamp:
05/24/08 09:54:17 (6 months ago)
Author:
mwhitworth
Message:

Update kernel panic code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/hybrid/kernel/panic.c

    r26 r536  
    1717 */ 
    1818 
     19#include <module.h> 
    1920#include <panic.h> 
    2021#include <i386/i386.h> 
     
    3637void KernelPanic(char* message) 
    3738{ 
    38         printf("An unrecoverable error has occured. Please restart your computer.\n " 
     39        KePrint("An unrecoverable error has occured. Please restart your computer.\n " 
    3940        "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); 
    4142        MachineHalt(); 
    4243} 
     44 
     45SYMBOL_EXPORT(KernelPanic);