--- tools/common/include/acpi.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/tools/common/include/acpi.h b/tools/common/include/acpi.h index c06bafb..ba8004b 100644 --- a/tools/common/include/acpi.h +++ b/tools/common/include/acpi.h @@ -18,6 +18,8 @@ #define ACPI_OEM_ID_SIZE 6 #define ACPI_OEM_TABLE_ID_SIZE 8
+#pragma pack(1) + /* Generic ACPI table header */
struct acpi_table_header { @@ -295,4 +297,7 @@ struct acpi_whea_header { uint64_t mask; /* Bitmask required for this register instruction */ };
+/* Reset to default packing */ +#pragma pack() + #endif /* ACPI_H_ */