On 11/19/2013 01:35 AM, Tomasz Nowicki wrote:
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_ */
Based on these patches, it looks like you're working on the code to remove the "ACPIxxxx" header from the blob? Did I guess right? Do I win a prize :)?
If you are, there's an LP bug (#1232143) tracking this issue.