[coreboot] New patch to review for coreboot: 48ce747 CBMEM CONSOLE: Add CBMEM type for console buffer.

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Tue Mar 6 00:52:44 CET 2012

Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/720


commit 48ce747d48a0cc6c633e290fb1e66ada7c4142fd
Author: Vadim Bendebury <vbendeb at chromium.org>
Date:   Fri Sep 30 11:13:06 2011 -0700

    CBMEM CONSOLE: Add CBMEM type for console buffer.
    Add CBMEM type for the console buffer section.
    Change-Id: I02757c06d71e46af77b02b90b0e6018a37b62406
    Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
 src/include/cbmem.h |    1 +
 src/lib/cbmem.c     |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/include/cbmem.h b/src/include/cbmem.h
index c3f10ef..a19ec5a 100644
--- a/src/include/cbmem.h
+++ b/src/include/cbmem.h
@@ -42,6 +42,7 @@ extern uint64_t high_tables_base, high_tables_size;
 #define CBMEM_ID_RESUME		0x5245534d
 #define CBMEM_ID_SMBIOS         0x534d4254
 #define CBMEM_ID_TIMESTAMP	0x54494d45
+#define CBMEM_ID_CONSOLE	0x434f4e53
 #define CBMEM_ID_NONE		0x00000000
 int cbmem_initialize(void);
diff --git a/src/lib/cbmem.c b/src/lib/cbmem.c
index f800b04..b09b070 100644
--- a/src/lib/cbmem.c
+++ b/src/lib/cbmem.c
@@ -256,6 +256,7 @@ void cbmem_list(void)
 		case CBMEM_ID_RESUME:	 printk(BIOS_DEBUG, "ACPI RESUME"); break;
 		case CBMEM_ID_SMBIOS:    printk(BIOS_DEBUG, "SMBIOS     "); break;
 		case CBMEM_ID_TIMESTAMP: printk(BIOS_DEBUG, "TIME STAMP "); break;
+		case CBMEM_ID_CONSOLE:   printk(BIOS_DEBUG, "CONSOLE    "); break;
 		default: printk(BIOS_DEBUG, "%08x ", cbmem_toc[i].id);
 		printk(BIOS_DEBUG, "%08llx ", cbmem_toc[i].base);

More information about the coreboot mailing list