summaryrefslogtreecommitdiff
path: root/src/console/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/console.c')
-rw-r--r--src/console/console.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/console/console.c b/src/console/console.c
index fb31c46a7a..4f11fbecf8 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -91,28 +91,6 @@ int console_tst_byte(void)
return 0;
}
-/*
- * Write POST information
- */
-void post_code(u8 value)
-{
-#if !defined(CONFIG_NO_POST) || CONFIG_NO_POST==0
-#if CONFIG_SERIAL_POST==1
- printk(BIOS_EMERG, "POST: 0x%02x\n", value);
-#endif
- outb(value, 0x80);
-#endif
-}
-
-/* Report a fatal error */
-void __attribute__((noreturn)) die(const char *msg)
-{
- printk(BIOS_EMERG, "%s", msg);
- //post_code(0xff);
- for (;;)
- hlt(); /* Halt */
-}
-
#else
void console_init(void)
@@ -129,24 +107,4 @@ void console_init(void)
" starting...\n";
print_info(console_test);
}
-
-void post_code(u8 value)
-{
-#if !defined(CONFIG_NO_POST) || CONFIG_NO_POST==0
-#if CONFIG_SERIAL_POST==1
- print_emerg("POST: 0x");
- print_emerg_hex8(value);
- print_emerg("\n");
-#endif
- outb(value, 0x80);
-#endif
-}
-
-void die(const char *str)
-{
- print_emerg(str);
- do {
- hlt();
- } while(1);
-}
#endif