[coreboot] [patch 1/5] libpayload: Fix the putc function
Myles Watson
mylesgw at gmail.com
Wed May 14 18:08:26 CEST 2008
> Reverse rows and columns on the video putc() function, and watch printf
> work again.
>
> Signed-off-by: Jordan Crouse <jordan.crouse at amd.com>
Acked-by: Myles Watson <mylesgw at gmail.com>
Thanks,
Myles
> Index: libpayload/drivers/video/video.c
> ===================================================================
> --- libpayload.orig/drivers/video/video.c 2008-05-12
14:40:19.000000000 -
> 0600
> +++ libpayload/drivers/video/video.c 2008-05-12 14:40:23.000000000 -
> 0600
> @@ -126,14 +126,14 @@
> case '\t':
> while(cursorx % 8 && cursorx < VIDEO_COLS) {
> if (console)
> - console->putc(cursorx, cursory, (ch &
0xFF00) | '
> ');
> + console->putc(cursory, cursorx, (ch &
0xFF00) | '
> ');
>
> cursorx++;
> }
> break;
> default:
> if (console)
> - console->putc(cursorx++, cursory, ch);
> + console->putc(cursory, cursorx++, ch);
> break;
> }
>
>
> --
> Jordan Crouse
> Systems Software Development Engineer
> Advanced Micro Devices, Inc.
>
>
> --
> coreboot mailing list
> coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
More information about the coreboot
mailing list