diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-03-17 14:39:36 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-03-17 14:39:36 +0000 |
commit | 764fe40f098d010d8d41a549a2560be3b0814d42 (patch) | |
tree | 41dcb04fb56e424fe63774ff0ee18cf7379926d0 /util/nvramtool/coreboot_tables.h | |
parent | 3f72e32b06ec17768344032cf580acb60642afab (diff) |
This patch adds "high coreboot table support" to coreboot version 2.
Some bootloaders seem to overwrite memory starting at 0x600, thus destroying
the coreboot table integrity, rendering the table useless.
By moving the table to the high tables area (if it's activated), this problem
is fixed.
In order to move the table, a 40 bytes mini coreboot table with a single sub
table is placed at 0x500/0x530 that points to the real coreboot table. This is
comparable to the ACPI RSDT or the MP floating table.
This patch also adds "table forward" support to flashrom and nvramtool.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4013 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/nvramtool/coreboot_tables.h')
-rw-r--r-- | util/nvramtool/coreboot_tables.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/util/nvramtool/coreboot_tables.h b/util/nvramtool/coreboot_tables.h index 7c912be0f7..afab7bcb88 100644 --- a/util/nvramtool/coreboot_tables.h +++ b/util/nvramtool/coreboot_tables.h @@ -146,6 +146,14 @@ struct lb_string { uint32_t size; uint8_t string[0]; }; +#define LB_TAG_SERIAL 0x000f +#define LB_TAG_CONSOLE 0x0010 +#define LB_TAG_FORWARD 0x0011 +struct lb_forward { + uint32_t tag; + uint32_t size; + uint64_t forward; +}; /* The following structures are for the cmos definitions table */ #define LB_TAG_CMOS_OPTION_TABLE 200 |