diff options
Diffstat (limited to 'MdePkg/Include/IndustryStandard/Acpi10.h')
-rw-r--r-- | MdePkg/Include/IndustryStandard/Acpi10.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/MdePkg/Include/IndustryStandard/Acpi10.h b/MdePkg/Include/IndustryStandard/Acpi10.h index 4fc05e6fce..4d970fff36 100644 --- a/MdePkg/Include/IndustryStandard/Acpi10.h +++ b/MdePkg/Include/IndustryStandard/Acpi10.h @@ -59,7 +59,10 @@ typedef struct { ///
#define ACPI_TIMER_FREQUENCY 3579545
-
+//
+// Ensure proper structure formats
+//
+#pragma pack(1)
//
// The commond definition of QWORD, DWORD, and WORD
// Address Space Descriptors
@@ -77,6 +80,8 @@ typedef struct { UINT64 AddrLen;
} EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR;
+#pragma pack()
+
typedef struct {
UINT8 Desc;
UINT8 Checksum;
|