[coreboot] [v2] r4795 - trunk/coreboot-v2/src/console
svn at coreboot.org
svn at coreboot.org
Fri Oct 16 22:15:06 CEST 2009
Author: myles
Date: 2009-10-16 22:15:06 +0200 (Fri, 16 Oct 2009)
New Revision: 4795
Modified:
trunk/coreboot-v2/src/console/console.c
Log:
Revert deletion that snuck in to 4794. Sorry.
Signed-off-by: Myles Watson <mylesgw at gmail.com>
Acked-by: Myles Watson <mylesgw at gmail.com>
Modified: trunk/coreboot-v2/src/console/console.c
===================================================================
--- trunk/coreboot-v2/src/console/console.c 2009-10-16 19:29:45 UTC (rev 4794)
+++ trunk/coreboot-v2/src/console/console.c 2009-10-16 20:15:06 UTC (rev 4795)
@@ -81,3 +81,11 @@
outb(value, 0x80);
#endif
}
+
+/* Report a fatal error */
+void __attribute__((noreturn)) die(const char *msg)
+{
+ printk_emerg("%s", msg);
+ post_code(0xff);
+ while (1); /* Halt */
+}
More information about the coreboot
mailing list