]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add workaround for some ARM compilers that do not always generate aligned accesses...
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 18 Aug 2009 20:48:19 +0000 (20:48 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 18 Aug 2009 20:48:19 +0000 (20:48 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9098 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/IndustryStandard/Acpi10.h

index c2f3acf75cc33d20596af20786ad3c422d2902c8..b463d6ff280b1280563f3c8937fed7aa7b171555 100644 (file)
@@ -67,7 +67,7 @@ typedef struct {
 /// The commond definition of QWORD, DWORD, and WORD\r
 /// Address Space Descriptors\r
 ///\r
 /// The commond definition of QWORD, DWORD, and WORD\r
 /// Address Space Descriptors\r
 ///\r
-typedef struct {\r
+typedef PACKED struct {\r
   UINT8   Desc;\r
   UINT16  Len;\r
   UINT8   ResType;\r
   UINT8   Desc;\r
   UINT16  Len;\r
   UINT8   ResType;\r