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

Jordan Crouse jordan.crouse at amd.com
Tue Aug 12 22:25:13 CEST 2008


On 12/08/08 22:13 +0200, Ulf Jordan wrote:
> 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

> Fix incorrect mapping of ACS_PI for VGA console. A pi should look like pi and
> not like Gamma.

Everybody loves pi!

> Signed-off-by: Ulf Jordan <jordan at chalmers.se>
Acked-by: Jordan Crouse <jordan.crouse at amd.com>

r3505.  Thanks.

> 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!

> --
> coreboot mailing list
> coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot


-- 
Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.





More information about the coreboot mailing list