[coreboot] [libpayload] fix curses drawing problem

Uwe Hermann uwe at hermann-uwe.de
Sat Mar 29 17:15:14 CET 2008


On Thu, Mar 27, 2008 at 11:12:35PM +0100, Uwe Hermann wrote:
> 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.

Also tested on hardware now. Committed in r3195.


Uwe.
-- 
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