diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-18 20:48:19 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-18 20:48:19 +0000 |
commit | 0b61020ad08f6d5a037b8059bbfc35ffde43b9aa (patch) | |
tree | 88c48a217cf04cbe4b65407d04a2c1a1583c7244 | |
parent | fc0072c87e837d6da433a2df56e26900c1f19c5a (diff) | |
download | edk2-0b61020ad08f6d5a037b8059bbfc35ffde43b9aa.zip edk2-0b61020ad08f6d5a037b8059bbfc35ffde43b9aa.tar.gz edk2-0b61020ad08f6d5a037b8059bbfc35ffde43b9aa.tar.bz2 |
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
-rw-r--r-- | MdePkg/Include/IndustryStandard/Acpi10.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/IndustryStandard/Acpi10.h b/MdePkg/Include/IndustryStandard/Acpi10.h index c2f3acf..b463d6f 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;
|