From: klu2 Date: Mon, 9 Apr 2007 03:36:37 +0000 (+0000) Subject: Change the alignment of variable from 2 back to 1 for compability of test case. X-Git-Tag: edk2-stable201903~23349 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=72c11e3aafebce2dbfdcbc8a2eb74a78ad36d865 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 --- 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 //