mirror of https://github.com/acidanthera/audk.git
Declare the alignment required for jump Buffers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2021 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f2d16cde5a
commit
4a32862018
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue