mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Bug Fix: Define CPU_STACK_ALIGNMENT for each ARCH.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6596 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
2ff2921247
commit
e70330e0e3
@ -38,4 +38,9 @@ Abstract:
|
||||
#define MDE_CPU_EBC
|
||||
#endif
|
||||
|
||||
///
|
||||
/// The stack alignment required for EBC
|
||||
///
|
||||
#define CPU_STACK_ALIGNMENT sizeof(UINTN)
|
||||
|
||||
#endif
|
||||
|
@ -38,4 +38,9 @@ Abstract:
|
||||
#define MDE_CPU_IA32
|
||||
#endif
|
||||
|
||||
///
|
||||
/// The stack alignment required for IA-32
|
||||
///
|
||||
#define CPU_STACK_ALIGNMENT sizeof(UINTN)
|
||||
|
||||
#endif
|
||||
|
@ -64,5 +64,10 @@ typedef struct {
|
||||
#define EFI_EXTENDED_SAL_RESET_SERVICES_PROTOCOL_GUID_LO 0x46f58ce17d019990
|
||||
#define EFI_EXTENDED_SAL_RESET_SERVICES_PROTOCOL_GUID_HI 0xa06a6798513c76a7
|
||||
|
||||
//
|
||||
// Per the Itanium Software Conventions and Runtime Architecture Guide,
|
||||
// section 3.3.4, IPF stack must always be 16-byte aligned.
|
||||
//
|
||||
#define CPU_STACK_ALIGNMENT 16
|
||||
|
||||
#endif
|
||||
|
@ -38,4 +38,10 @@ Abstract:
|
||||
#define MDE_CPU_X64
|
||||
#endif
|
||||
|
||||
//
|
||||
// The stack alignment required for X64
|
||||
//
|
||||
#define CPU_STACK_ALIGNMENT 16
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user