Add support to run SMM handler in TSEG instead of ASEG
[coreboot.git] / src / console / logbuf_console.c
index 00185d383cca3d5866e4b50298d43e627125d9b8..a76791d542fcc81ab8265dc51fe431327a22cf8c 100644 (file)
@@ -2,7 +2,7 @@
 
 #define LOGBUF_SIZE  1024
 
-// KEEP THIS GLOBAL. 
+// KEEP THIS GLOBAL.
 // I need the address so I can watch it with the ARIUM hardware. RGM.
 char logbuf[LOGBUF_SIZE];
 int logbuf_offset = 0;
@@ -13,7 +13,7 @@ static void logbuf_tx_byte(unsigned char byte)
        logbuf_offset = (logbuf_offset +1) % LOGBUF_SIZE;
 }
 
-static struct console_driver __console = {
+static const struct console_driver __console = {
        .init    = 0,
        .tx_byte = logbuf_tx_byte,
        .rx_byte = 0,