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 <[email protected]>
Acked-by: Myles Watson <[email protected]>


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 */
+}


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to