diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-10 09:11:32 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-10 09:11:32 +0000 |
commit | 4f1afaacb283542ee1fdf14602c5d2f44a79de5c (patch) | |
tree | 5242232cc7b04c274944ca36f89fd876bbd1d63c /MdePkg/Include/IndustryStandard/Acpi20.h | |
parent | 498a6d988368a1f73b92ea7ab939cd63e9ba1b93 (diff) | |
download | edk2-platforms-4f1afaacb283542ee1fdf14602c5d2f44a79de5c.tar.xz |
add #pragma pack(1) for some structures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6439 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/IndustryStandard/Acpi20.h')
-rw-r--r-- | MdePkg/Include/IndustryStandard/Acpi20.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/Acpi20.h b/MdePkg/Include/IndustryStandard/Acpi20.h index b67ee54440..4476bf9f22 100644 --- a/MdePkg/Include/IndustryStandard/Acpi20.h +++ b/MdePkg/Include/IndustryStandard/Acpi20.h @@ -99,6 +99,10 @@ typedef struct { ///
#define EFI_ACPI_2_0_EXTENDED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01
+//
+// Ensure proper structure formats
+//
+#pragma pack(1)
///
/// Fixed ACPI Description Table Structure (FADT)
///
@@ -156,6 +160,7 @@ typedef struct { EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE XGpe0Blk;
EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE XGpe1Blk;
} EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE;
+#pragma pack()
///
/// FADT Version (as defined in ACPI 2.0 spec.)
|