diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-22 11:42:32 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-22 11:42:32 +0000 |
commit | c02b4fc9db3c3c1e263027382697b566127f66bb (patch) | |
tree | 11bd18488e360e5c1beeb9ccb852ef4489c3689a /src/console | |
parent | 27852aba6787617ca5656995cbc7e8ef0a3ea22c (diff) |
printk_foo -> printk(BIOS_FOO, ...)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5266 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console/console.c b/src/console/console.c index 008130fb63..4543b0c7b3 100644 --- a/src/console/console.c +++ b/src/console/console.c @@ -76,7 +76,7 @@ void post_code(uint8_t value) { #if !defined(CONFIG_NO_POST) || CONFIG_NO_POST==0 #if CONFIG_SERIAL_POST==1 - printk_emerg("POST: 0x%02x\n", value); + printk(BIOS_EMERG, "POST: 0x%02x\n", value); #endif outb(value, 0x80); #endif @@ -85,7 +85,7 @@ void post_code(uint8_t value) /* Report a fatal error */ void __attribute__((noreturn)) die(const char *msg) { - printk_emerg("%s", msg); + printk(BIOS_EMERG, "%s", msg); post_code(0xff); while (1); /* Halt */ } |