diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-09 21:26:29 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-09 21:26:29 +0000 |
commit | caae4de6b65ff0b232de942b52ece4cb4e6fbb90 (patch) | |
tree | 2d580846df5fa3ab974d4ed5378d0e2d80186ba8 /MdePkg/Include/Ebc | |
parent | 3d4bdea9cc24d619c084ec0b7a629d97e71fda8c (diff) | |
download | edk2-platforms-caae4de6b65ff0b232de942b52ece4cb4e6fbb90.tar.xz |
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
Diffstat (limited to 'MdePkg/Include/Ebc')
-rw-r--r-- | MdePkg/Include/Ebc/ProcessorBind.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MdePkg/Include/Ebc/ProcessorBind.h b/MdePkg/Include/Ebc/ProcessorBind.h index 5a6e7dc9bb..2cb0753867 100644 --- a/MdePkg/Include/Ebc/ProcessorBind.h +++ b/MdePkg/Include/Ebc/ProcessorBind.h @@ -61,6 +61,12 @@ typedef unsigned long UINTN; // Maximum legal EBC address
//
#define MAX_ADDRESS ((UINTN) ~0)
+
+//
+// The stack alignment required for EBC
+//
+#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
|