diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-21 07:49:46 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-21 07:49:46 +0000 |
commit | 98a33bf460d4ae81b51bb13fdb428de234ee0dc0 (patch) | |
tree | 2e2979c872174bddcccb0adc921306cc6b6fb90c /MdePkg/Include/IndustryStandard | |
parent | 0827d304f65f8ba293ce76ddcde71112704f2754 (diff) | |
download | edk2-platforms-98a33bf460d4ae81b51bb13fdb428de234ee0dc0.tar.xz |
added pack(1) for EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR, since it will cross modules through protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6169 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/IndustryStandard')
-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;
|