[coreboot] [libpayload] fix curses drawing problem

Uwe Hermann uwe at hermann-uwe.de
Thu Mar 27 23:12:35 CET 2008

On Thu, Mar 27, 2008 at 03:34:50PM -0600, Jordan Crouse wrote:
> [libpayload] Work around sign-extending issue
> somewhere characters are getting sign-extended, meaning that the
> attributes of the drawing chars ( >= 128) are wrong.  Cast the value 
> before sending it to vga.
> Signed-off-by: Jordan Crouse <jordan.crouse at amd.com>

Acked-by: Uwe Hermann <uwe at hermann-uwe.de>

Tested in QEMU.

http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

More information about the coreboot mailing list