diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-13 06:44:15 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-13 06:44:15 +0000 |
commit | ea1e4c10aa165cbac90bb1db18b3e193174297b3 (patch) | |
tree | 27404b90d6a47a34876933addc20f1b191715c3f /MdePkg | |
parent | ef9086417ee90ff4ed6fa481f1cca564f6b3600e (diff) | |
download | edk2-platforms-ea1e4c10aa165cbac90bb1db18b3e193174297b3.tar.xz |
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
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/x64/ProcessorBind.h | 2 |
1 files changed, 1 insertions, 1 deletions
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
|