
ACPI tables may comprise either RSDT, XSDT, or both. The current code fails to check the presence of the RSDT table before accessing it. This leads to an exception if the RSDT table is not provided.
Our definition of the XSDT table structure is not correctly packed.
The XSDT table takes precedence over the RSDT table.
Addresses in the XSDT table are 64-bit. Adjust the output and the unit test accordingly.
The ACPI specification does not require that the sequence of tables are the same in XSDT and RSDT. Comparing entries with the same index makes no sense.
The FACS table header does not provide revision information. Correct the description of dump_hdr().
Heinrich Schuchardt (3): acpi: fix struct acpi_xsdt cmd: acpi: fix acpi list command test: dm: adjust ACPI test
cmd/acpi.c | 48 +++++++++++++++++++++++---------------- include/acpi/acpi_table.h | 2 +- test/dm/acpi.c | 18 +++++++-------- 3 files changed, 39 insertions(+), 29 deletions(-)