X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FIndustryStandard%2FMemoryMappedConfigurationSpaceAccessTable.h;h=515a7b3001b6f80cce76577e203a95bc6c4a3932;hb=3a0d56608f54c88f55986fbd1c729028f6aa7e16;hp=fe4adb7c8c94eff7fb01fe4b7c36bea292658607;hpb=54569f0f8fa7cb0f11a6cbfb6d73e2a14014c6c9;p=mirror_edk2.git diff --git a/MdePkg/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h b/MdePkg/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h index fe4adb7c8c..515a7b3001 100644 --- a/MdePkg/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h +++ b/MdePkg/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h @@ -16,6 +16,11 @@ #ifndef _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_ #define _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_ +// +// Ensure proper structure formats +// +#pragma pack(1) + /// /// Memory Mapped Configuration Space Access Table (MCFG) /// This table is a basic description table header followed by @@ -43,4 +48,6 @@ typedef struct { /// #define EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_REVISION 0x01 +#pragma pack() + #endif