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@chromium.org> Reviewed-on: http://review.coreboot.org/720 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
32da8bed19
commit
be25a4ded0
|
@ -47,6 +47,7 @@ extern uint64_t high_tables_base, high_tables_size;
|
||||||
#define CBMEM_ID_RESUME 0x5245534d
|
#define CBMEM_ID_RESUME 0x5245534d
|
||||||
#define CBMEM_ID_SMBIOS 0x534d4254
|
#define CBMEM_ID_SMBIOS 0x534d4254
|
||||||
#define CBMEM_ID_TIMESTAMP 0x54494d45
|
#define CBMEM_ID_TIMESTAMP 0x54494d45
|
||||||
|
#define CBMEM_ID_CONSOLE 0x434f4e53
|
||||||
#define CBMEM_ID_NONE 0x00000000
|
#define CBMEM_ID_NONE 0x00000000
|
||||||
|
|
||||||
int cbmem_initialize(void);
|
int cbmem_initialize(void);
|
||||||
|
|
|
@ -256,6 +256,7 @@ void cbmem_list(void)
|
||||||
case CBMEM_ID_RESUME: printk(BIOS_DEBUG, "ACPI RESUME"); break;
|
case CBMEM_ID_RESUME: printk(BIOS_DEBUG, "ACPI RESUME"); break;
|
||||||
case CBMEM_ID_SMBIOS: printk(BIOS_DEBUG, "SMBIOS "); break;
|
case CBMEM_ID_SMBIOS: printk(BIOS_DEBUG, "SMBIOS "); break;
|
||||||
case CBMEM_ID_TIMESTAMP: printk(BIOS_DEBUG, "TIME STAMP "); 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);
|
default: printk(BIOS_DEBUG, "%08x ", cbmem_toc[i].id);
|
||||||
}
|
}
|
||||||
printk(BIOS_DEBUG, "%08llx ", cbmem_toc[i].base);
|
printk(BIOS_DEBUG, "%08llx ", cbmem_toc[i].base);
|
||||||
|
|
Loading…
Reference in New Issue