diff --git a/MdePkg/Include/IndustryStandard/Acpi10.h b/MdePkg/Include/IndustryStandard/Acpi10.h index 591cbbb3dd..fcc9146ca4 100644 --- a/MdePkg/Include/IndustryStandard/Acpi10.h +++ b/MdePkg/Include/IndustryStandard/Acpi10.h @@ -87,19 +87,19 @@ typedef PACKED struct { UINT64 AddrLen; } EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR; -typedef union { +typedef PACKED union { UINT8 Byte; - struct { + PACKED struct { UINT8 Length : 3; UINT8 Name : 4; UINT8 Type : 1; } Bits; } ACPI_SMALL_RESOURCE_HEADER; -typedef struct { - union { +typedef PACKED struct { + PACKED union { UINT8 Byte; - struct{ + PACKED struct { UINT8 Name : 7; UINT8 Type : 1; }Bits;