From: mdkinney Date: Mon, 13 Nov 2006 06:44:15 +0000 (+0000) Subject: Set the stack alignment for X64 to 16 bytes per the X64 Calling Convention X-Git-Tag: edk2-stable201903~23944 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=ea1e4c10aa165cbac90bb1db18b3e193174297b3;hp=ef9086417ee90ff4ed6fa481f1cca564f6b3600e 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 --- 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