diff options
Diffstat (limited to 'src/arch/i386/lib/console.c')
-rw-r--r-- | src/arch/i386/lib/console.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/arch/i386/lib/console.c b/src/arch/i386/lib/console.c index 83502eafd9..f3594e9786 100644 --- a/src/arch/i386/lib/console.c +++ b/src/arch/i386/lib/console.c @@ -136,3 +136,12 @@ static void console_init(void) " starting...\r\n"; print_info(console_test); } + + +static void die(const char *str) +{ + print_emerg(str); + do { + hlt(); + } while(1); +} |