X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FIndustryStandard%2FAcpi20.h;h=4476bf9f22d469abde3b322417cb6fd5eb1b4fa6;hb=4f1afaacb283542ee1fdf14602c5d2f44a79de5c;hp=b67ee54440cd89f507b29ddf61999ddd22865149;hpb=55c11cc8923b1f76c6d47769fe56f3fa8730e326;p=mirror_edk2.git 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.)