diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-03-25 08:55:21 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-05-15 13:38:47 +0200 |
commit | 2abf972ab60dd0e222722647aa4ed7abe257e874 (patch) | |
tree | 7501b2aa393f2e562d044df832c805ab95c62a32 /src/std | |
parent | 63565246a655ffe9d123d17838de5ba6e21dd173 (diff) | |
download | seabios-2abf972ab60dd0e222722647aa4ed7abe257e874.tar.gz |
acpi: add xsdt support
In case a xsdt table is present (and located below 4G)
prefer it over rsdt.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/std')
-rw-r--r-- | src/std/acpi.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/std/acpi.h b/src/std/acpi.h index c01fa7be..81c22757 100644 --- a/src/std/acpi.h +++ b/src/std/acpi.h @@ -133,6 +133,17 @@ struct rsdt_descriptor_rev1 } PACKED; /* + * ACPI 2.0 eXtended System Description Table (XSDT) + */ +#define XSDT_SIGNATURE 0x54445358 // XSDT +struct xsdt_descriptor_rev2 +{ + ACPI_TABLE_HEADER_DEF /* ACPI common table header */ + u64 table_offset_entry[0]; /* Array of pointers to other */ + /* ACPI tables */ +} PACKED; + +/* * ACPI 1.0 Firmware ACPI Control Structure (FACS) */ #define FACS_SIGNATURE 0x53434146 // FACS |