diff options
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Library/BaseLib.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h index 329385d..266df77 100644 --- a/MdePkg/Include/Library/BaseLib.h +++ b/MdePkg/Include/Library/BaseLib.h @@ -40,6 +40,8 @@ typedef struct { UINT32 Eip;
} BASE_LIBRARY_JUMP_BUFFER;
+#define BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT 8
+
#elif defined (MDE_CPU_IPF)
//
// IPF context buffer used by SetJump() and LongJump()
@@ -85,6 +87,8 @@ typedef struct { UINT64 FPSR;
} BASE_LIBRARY_JUMP_BUFFER;
+#define BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT 0x10
+
#elif defined (MDE_CPU_X64)
//
// X64 context buffer used by SetJump() and LongJump()
@@ -102,6 +106,8 @@ typedef struct { UINT64 Rip;
} BASE_LIBRARY_JUMP_BUFFER;
+#define BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT 8
+
#elif defined (MDE_CPU_EBC)
//
// EBC context buffer used by SetJump() and LongJump()
@@ -114,6 +120,8 @@ typedef struct { UINT64 IP;
} BASE_LIBRARY_JUMP_BUFFER;
+#define BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT 8
+
#else
#error Unknown Processor Type
#endif
|