From: mdkinney Date: Tue, 18 Aug 2009 20:48:19 +0000 (+0000) Subject: Add workaround for some ARM compilers that do not always generate aligned accesses... X-Git-Tag: edk2-stable201903~17221 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=0b61020ad08f6d5a037b8059bbfc35ffde43b9aa Add workaround for some ARM compilers that do not always generate aligned accesses for packed structures. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9098 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Include/IndustryStandard/Acpi10.h b/MdePkg/Include/IndustryStandard/Acpi10.h index c2f3acf75c..b463d6ff28 100644 --- a/MdePkg/Include/IndustryStandard/Acpi10.h +++ b/MdePkg/Include/IndustryStandard/Acpi10.h @@ -67,7 +67,7 @@ typedef struct { /// The commond definition of QWORD, DWORD, and WORD /// Address Space Descriptors /// -typedef struct { +typedef PACKED struct { UINT8 Desc; UINT16 Len; UINT8 ResType;