[coreboot] [PATCH] libpayload: fix incorrect mapping of ACS_PI for VGA console

Ulf Jordan jordan at chalmers.se
Tue Aug 12 22:13:55 CEST 2008


See attached patch.

Compile tested against svn HEAD. Nothing under payloads/ use ACS_PI yet, 
so it's not runtime tested. I've tested the raw character on the linux 
console manually, and there it looks correct.

/ulf
-------------- next part --------------
Fix incorrect mapping of ACS_PI for VGA console. A pi should look like pi and
not like Gamma.

Signed-off-by: Ulf Jordan <jordan at chalmers.se>

Index: libpayload/curses/tinycurses.c
===================================================================
--- libpayload/curses/tinycurses.c	(revision 3504)
+++ libpayload/curses/tinycurses.c	(arbetskopia)
@@ -149,7 +149,7 @@
 	'\004',	'\261',	0,	0,	0,	0,	'\370',	'\361',
 	'\260',	'\316',	'\331',	'\277',	'\332',	'\300',	'\305',	'~',
 	'\304',	'\304',	'\304',	'_',	'\303', '\264', '\301',	'\302',
-	'\263',	'\363',	'\362',	'\342',	'\330',	'\234',	'\376',	0,
+	'\263',	'\363',	'\362',	'\343',	'\330',	'\234',	'\376',	0,
 	};
 
 // FIXME: Ugly (and insecure!) hack!


More information about the coreboot mailing list