20PHYSICAL_ADDRESS gExceptionVectorAlignmentMask = ARM_VECTOR_TABLE_ALIGNMENT;
21UINTN gDebuggerNoHandlerValue = 0;
23#define EL0_STACK_SIZE EFI_PAGES_TO_SIZE(2)
40 (VOID *)(((
UINTN)mNewStackBase + EL0_STACK_SIZE) & ~0xFUL)
43 if (ArmReadCurrentEL () == AARCH64_EL2) {
44 HcrReg = ArmReadHcr ();
47 HcrReg |= ARM_HCR_TGE;
#define MAX_AARCH64_EXCEPTION
VOID(EFIAPI * EFI_EXCEPTION_CALLBACK)(IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)