[coreboot-gerrit] New patch to review for coreboot: coreinfo: Pretty print RAM addresses
Stefan Reinauer (stefan.reinauer@coreboot.org)
gerrit at coreboot.org
Sat Mar 12 21:18:50 CET 2016
Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14072
-gerrit
commit 9fe5e9e2e28ab81b36997a6bab5b16900ddbddce
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date: Sat Mar 12 12:17:48 2016 -0800
coreinfo: Pretty print RAM addresses
Instead of 500, print 0x00000500 in the ram dump module.
Change-Id: Id250bd99f36dad4088ab88953fb371c400b4231b
Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
payloads/coreinfo/ramdump_module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/payloads/coreinfo/ramdump_module.c b/payloads/coreinfo/ramdump_module.c
index a0ccc4f..8401a61 100644
--- a/payloads/coreinfo/ramdump_module.c
+++ b/payloads/coreinfo/ramdump_module.c
@@ -30,7 +30,7 @@ static void dump_ram(WINDOW *win, uint32_t addr, int row, int col)
int i, x = 0, y = 0, count = 0;
volatile uint8_t *ptr = (void *)(addr);
- mvwprintw(win, 0, col + 54, "RAM address: %10x", addr);
+ mvwprintw(win, 0, col + 54, "RAM address: 0x%08x", addr);
/* Dump 256 bytes of RAM. */
for (i = 1; i < 257; i++) {
More information about the coreboot-gerrit
mailing list