From ea1e4c10aa165cbac90bb1db18b3e193174297b3 Mon Sep 17 00:00:00 2001 From: mdkinney Date: Mon, 13 Nov 2006 06:44:15 +0000 Subject: [PATCH] Set the stack alignment for X64 to 16 bytes per the X64 Calling Convention git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1933 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/x64/ProcessorBind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/x64/ProcessorBind.h b/MdePkg/Include/x64/ProcessorBind.h index d8c76922c8..49cb117776 100644 --- a/MdePkg/Include/x64/ProcessorBind.h +++ b/MdePkg/Include/x64/ProcessorBind.h @@ -166,7 +166,7 @@ typedef INT64 INTN; // // The stack alignment required for X64 // -#define CPU_STACK_ALIGNMENT sizeof(UINTN) +#define CPU_STACK_ALIGNMENT 16 // // Modifier to ensure that all protocol member functions and EFI intrinsics