diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-04-09 03:36:37 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-04-09 03:36:37 +0000 |
commit | 72c11e3aafebce2dbfdcbc8a2eb74a78ad36d865 (patch) | |
tree | 8518f63f340bb93325c040dcf6ea93c33ed0ce2f /EdkModulePkg/Include | |
parent | 28dec501f4d43e24f9dc9f121d8166fcb7f8ff35 (diff) | |
download | edk2-72c11e3aafebce2dbfdcbc8a2eb74a78ad36d865.zip edk2-72c11e3aafebce2dbfdcbc8a2eb74a78ad36d865.tar.gz edk2-72c11e3aafebce2dbfdcbc8a2eb74a78ad36d865.tar.bz2 |
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')
-rw-r--r-- | EdkModulePkg/Include/Common/Variable.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/EdkModulePkg/Include/Common/Variable.h b/EdkModulePkg/Include/Common/Variable.h index 08334b7..cfa14d2 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
//
|