summaryrefslogtreecommitdiff
path: root/MdePkg/Include/IndustryStandard
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-18 20:48:19 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-18 20:48:19 +0000
commit0b61020ad08f6d5a037b8059bbfc35ffde43b9aa (patch)
tree88c48a217cf04cbe4b65407d04a2c1a1583c7244 /MdePkg/Include/IndustryStandard
parentfc0072c87e837d6da433a2df56e26900c1f19c5a (diff)
downloadedk2-platforms-0b61020ad08f6d5a037b8059bbfc35ffde43b9aa.tar.xz
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
Diffstat (limited to 'MdePkg/Include/IndustryStandard')
-rw-r--r--MdePkg/Include/IndustryStandard/Acpi10.h2
1 files changed, 1 insertions, 1 deletions
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;