commit | bb307a68549722973c115be4323a1e11572ca919 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Tue Nov 21 15:41:27 2023 +0100 |
committer | Tom Rini <trini@konsulko.com> | Wed Dec 13 18:39:06 2023 -0500 |
tree | d0be5fcb67802fa0c7fe2ff46d3cd2715f602d83 | |
parent | 78ac1f5973ec33a9173de963048322367ee4078f [diff] |
acpi: fix struct acpi_xsdt 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@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>