From caae4de6b65ff0b232de942b52ece4cb4e6fbb90 Mon Sep 17 00:00:00 2001 From: mdkinney Date: Thu, 9 Nov 2006 21:26:29 +0000 Subject: Add #define CPU_STACK_ALIGNMENT to the ProcessorBind.h for each of the supported CPU architectures. This value is sizeof(UINTN) for IA-32, X64, and EBC. It is 16 bytes for IPF. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1920 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Ia32/ProcessorBind.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'MdePkg/Include/Ia32') diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h index e0ddba4fe5..b0a991ef81 100644 --- a/MdePkg/Include/Ia32/ProcessorBind.h +++ b/MdePkg/Include/Ia32/ProcessorBind.h @@ -146,6 +146,11 @@ typedef INT32 INTN; // #define MAX_ADDRESS 0xFFFFFFFF +// +// The stack alignment required for IA-32 +// +#define CPU_STACK_ALIGNMENT sizeof(UINTN) + // // Modifier to ensure that all protocol member functions and EFI intrinsics // use the correct C calling convention. All protocol member functions and -- cgit v1.2.3