summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Include/Common/Variable.h
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-04-09 03:36:37 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-04-09 03:36:37 +0000
commit72c11e3aafebce2dbfdcbc8a2eb74a78ad36d865 (patch)
tree8518f63f340bb93325c040dcf6ea93c33ed0ce2f /EdkModulePkg/Include/Common/Variable.h
parent28dec501f4d43e24f9dc9f121d8166fcb7f8ff35 (diff)
downloadedk2-platforms-72c11e3aafebce2dbfdcbc8a2eb74a78ad36d865.tar.xz
Change the alignment of variable from 2 back to 1 for compability of test case.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2548 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Include/Common/Variable.h')
-rw-r--r--EdkModulePkg/Include/Common/Variable.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/EdkModulePkg/Include/Common/Variable.h b/EdkModulePkg/Include/Common/Variable.h
index 08334b7223..cfa14d2448 100644
--- a/EdkModulePkg/Include/Common/Variable.h
+++ b/EdkModulePkg/Include/Common/Variable.h
@@ -29,11 +29,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
// The alignment of variable's start offset.
+// For IA32/X64 architecture, the alignment is set to 1, and
+// 2 is for IPF archtecture.
//
#if defined (MDE_CPU_IPF)
#define ALIGNMENT 8
#else
-#define ALIGNMENT 2
+#define ALIGNMENT 1
#endif
//