summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdePkg/Include/IndustryStandard/Acpi10.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/MdePkg/Include/IndustryStandard/Acpi10.h b/MdePkg/Include/IndustryStandard/Acpi10.h
index 591cbbb..fcc9146 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;