Change the alignment of variable from 2 back to 1 for compability of test case.
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 9 Apr 2007 03:36:37 +0000 (03:36 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 9 Apr 2007 03:36:37 +0000 (03:36 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2548 6f19259b-4bc3-4df7-8a09-765794883524

EdkModulePkg/Include/Common/Variable.h

index 08334b7..cfa14d2 100644 (file)
@@ -29,11 +29,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 //\r
 // The alignment of variable's start offset.\r
+// For IA32/X64 architecture, the alignment is set to 1, and \r
+// 2 is for IPF archtecture.\r
 //\r
 #if defined (MDE_CPU_IPF)\r
 #define ALIGNMENT  8\r
 #else\r
-#define ALIGNMENT  2\r
+#define ALIGNMENT  1\r
 #endif\r
 \r
 //\r