[PATCH v4 1/2] acpi: fix struct acpi_xsdt
Simon Glass
sjg at chromium.org
Wed Dec 13 21:39:06 CET 2023
The size of the ACPI table header is not a multiple of 8. We have to mark
struct acpi_xsdt as packed to correctly access field Entry.
Add a unit test for the offsets of field Entry in the RSDT and XSDT tables.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
v4:
no change
v3:
no change
v2:
add unit test for offset of field Entry in RSDT, XSDT
---
include/acpi/acpi_table.h | 2 +-
test/dm/acpi.c | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list