diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2008-01-27 14:12:54 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2008-01-27 14:12:54 +0000 |
commit | 3bbf2ff789791ca6fe3eb9fc7d3c92ce1fc86367 (patch) | |
tree | c3a7e6810a784c80d4330d57afa75bb3500a724c /src/include/boot | |
parent | 2d94dead69b150492646453184ae64d15744fc11 (diff) | |
download | coreboot-3bbf2ff789791ca6fe3eb9fc7d3c92ce1fc86367.tar.xz |
Add a new record type "console" for lbtable, and insert one record
for each output device we support, so the payload can figure out
where to find consoles that the user cares about.
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3081 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/boot')
-rw-r--r-- | src/include/boot/coreboot_tables.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/boot/coreboot_tables.h b/src/include/boot/coreboot_tables.h index 25a8adcf6b..d2034371a6 100644 --- a/src/include/boot/coreboot_tables.h +++ b/src/include/boot/coreboot_tables.h @@ -138,6 +138,8 @@ struct lb_string { uint8_t string[0]; }; +/* 0xe is taken by v3 */ + #define LB_TAG_SERIAL 0x000f struct lb_serial { uint32_t tag; @@ -145,6 +147,20 @@ struct lb_serial { uint16_t ioport; }; +#define LB_TAG_CONSOLE 0x0010 +struct lb_console { + uint32_t tag; + uint32_t size; + uint16_t type; +}; + +#define LB_TAG_CONSOLE_SERIAL8250 0 +#define LB_TAG_CONSOLE_VGA 1 +#define LB_TAG_CONSOLE_BTEXT 2 +#define LB_TAG_CONSOLE_LOGBUF 3 +#define LB_TAG_CONSOLE_SROM 4 +#define LB_TAG_CONSOLE_EHCI 5 + /* The following structures are for the cmos definitions table */ #define LB_TAG_CMOS_OPTION_TABLE 200 /* cmos header record */ |