[coreboot-gerrit] New patch to review for coreboot: 92e23db util/cbmem: Print CBMEM_ID_SMM_SAVE_SPACE correctly
Paul Menzel (paulepanter@users.sourceforge.net)
gerrit at coreboot.org
Fri Oct 24 01:21:08 CEST 2014
Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7176
-gerrit
commit 92e23db3a69c51b0d62db6ef0b6780cf9092861a
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date: Fri Oct 24 01:15:10 2014 +0200
util/cbmem: Print CBMEM_ID_SMM_SAVE_SPACE correctly
Currently running `cbmem` on a system storing data of type
`CBMEM_ID_SMM_SAVE_SPACE` in CBMEM, it does only output the ID.
7. 07e9acee 7f7e5000 00010000
Add the name of that type to the struct `cbmem_id_to_name` so it can
be translated.
Only eleven characters are allowed, so I chose `SMM SAVE SP` as the
name.
Change-Id: Ib24088c07af4daf6b7d8d5854283b5faa2ad6503
Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
util/cbmem/cbmem.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c
index f1de620..381993a 100644
--- a/util/cbmem/cbmem.c
+++ b/util/cbmem/cbmem.c
@@ -614,6 +614,7 @@ static const struct cbmem_id_to_name {
{ CBMEM_ID_ROOT, "CBMEM ROOT " },
{ CBMEM_ID_VBOOT_HANDOFF, "VBOOT " },
{ CBMEM_ID_CAR_GLOBALS, "CAR GLOBALS" },
+ { CBMEM_ID_SMM_SAVE_SPACE, "SMM SAVE SP" },
};
void cbmem_print_entry(int n, uint32_t id, uint64_t base, uint64_t size)
More information about the coreboot-gerrit
mailing list