Hello!
The attached patch fixes the garbage characters seen instead of vertical bars in the coreinfo ramdump_module screen. Compile tested against r3478 and runtime tested with coreinfo+coreboot-v3 in QEMU.
/ulf
On 09/08/08 12:07 +0200, Ulf Jordan wrote:
Hello!
The attached patch fixes the garbage characters seen instead of vertical bars in the coreinfo ramdump_module screen. Compile tested against r3478 and runtime tested with coreinfo+coreboot-v3 in QEMU.
/ulf
Fix garbage characters on screen. mvwaddch inserts one character, not a character array.
Signed-off-by: Ulf Jordan jordan@chalmers.se
Acked-by: Jordan Crouse jordan.crouse@amd.com
Index: coreinfo/ramdump_module.c
--- coreinfo/ramdump_module.c (revision 3478) +++ coreinfo/ramdump_module.c (arbetskopia) @@ -40,8 +40,8 @@ for (i = 1; i < 257; i++) { if (x == 0) { mvwprintw(win, row + y, col - 1, "%08x", addr + 16 * y);
mvwaddch(win, row + y, col + 59, (const chtype)"|");
mvwaddch(win, row + y, col + 76, (const chtype)"|");
mvwaddch(win, row + y, col + 59, '|');
} mvwprintw(win, row + y, col + x + 9, "%02x", ptr[i - 1]); mvwprintw(win, row + y, 62 + count++, "%c", ptr[i - 1]);mvwaddch(win, row + y, col + 76, '|');
-- coreboot mailing list coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
On Sat, Aug 09, 2008 at 10:24:18AM -0600, Jordan Crouse wrote:
Fix garbage characters on screen. mvwaddch inserts one character, not a character array.
Signed-off-by: Ulf Jordan jordan@chalmers.se
Acked-by: Jordan Crouse jordan.crouse@amd.com
Ack, r3492. (Why are these things in v2 trunk?)
//Peter