From 0b61020ad08f6d5a037b8059bbfc35ffde43b9aa Mon Sep 17 00:00:00 2001 From: mdkinney Date: Tue, 18 Aug 2009 20:48:19 +0000 Subject: [PATCH] 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 --- MdePkg/Include/IndustryStandard/Acpi10.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2