]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Include/Common/Variable.h
Change the alignment of variable from 2 back to 1 for compability of test case.
[mirror_edk2.git] / EdkModulePkg / Include / Common / Variable.h
index 08334b72236741df222d0c0e92d9905aebda481f..cfa14d2448625f780929462175a0e55523ecda07 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