]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/Acpi10.h
ARM RVCT 3.1 compiler has issues with __packed structures containing anonymous struct...
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Acpi10.h
index 591cbbb3dd5d7400d36867a7df1cba91d79f1fda..fcc9146ca4ae988bd65af6d0a3a7350dfe1c8f9a 100644 (file)
@@ -87,19 +87,19 @@ typedef PACKED struct {
   UINT64  AddrLen;\r
 } EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR;\r
 \r
-typedef union {\r
+typedef PACKED union {\r
   UINT8     Byte;\r
-  struct {\r
+  PACKED struct {\r
     UINT8 Length : 3;\r
     UINT8 Name : 4;\r
     UINT8 Type : 1;\r
   } Bits;\r
 } ACPI_SMALL_RESOURCE_HEADER;\r
 \r
-typedef struct {\r
-  union {\r
+typedef PACKED struct {\r
+  PACKED union {\r
     UINT8 Byte;\r
-    struct{\r
+    PACKED struct {\r
       UINT8 Name : 7;\r
       UINT8 Type : 1;\r
     }Bits;\r