TianoCore EDK2 master
Loading...
Searching...
No Matches
AArch64Exception.c File Reference

Go to the source code of this file.

Macros

#define EL0_STACK_SIZE   EFI_PAGES_TO_SIZE(2)
 

Functions

VOID RegisterEl0Stack (IN VOID *Stack)
 
RETURN_STATUS ArchVectorConfig (IN UINTN VectorBaseAddress)
 

Variables

UINTN gMaxExceptionNumber = MAX_AARCH64_EXCEPTION
 
EFI_EXCEPTION_CALLBACK gExceptionHandlers [MAX_AARCH64_EXCEPTION+1] = { 0 }
 
EFI_EXCEPTION_CALLBACK gDebuggerExceptionHandlers [MAX_AARCH64_EXCEPTION+1] = { 0 }
 
PHYSICAL_ADDRESS gExceptionVectorAlignmentMask = ARM_VECTOR_TABLE_ALIGNMENT
 
UINTN gDebuggerNoHandlerValue = 0
 
STATIC UINTN mNewStackBase [EL0_STACK_SIZE/sizeof(UINTN)]
 

Detailed Description

Exception Handling support specific for AArch64

Copyright (c) 2016 HP Development Company, L.P. Copyright (c) 2021, Arm Limited. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file AArch64Exception.c.

Macro Definition Documentation

◆ EL0_STACK_SIZE

#define EL0_STACK_SIZE   EFI_PAGES_TO_SIZE(2)

Definition at line 23 of file AArch64Exception.c.

Function Documentation

◆ ArchVectorConfig()

RETURN_STATUS ArchVectorConfig ( IN UINTN  VectorBaseAddress)

Definition at line 32 of file AArch64Exception.c.

Variable Documentation

◆ gDebuggerExceptionHandlers

EFI_EXCEPTION_CALLBACK gDebuggerExceptionHandlers[MAX_AARCH64_EXCEPTION+1] = { 0 }

Definition at line 19 of file AArch64Exception.c.

◆ gDebuggerNoHandlerValue

UINTN gDebuggerNoHandlerValue = 0

Definition at line 21 of file AArch64Exception.c.

◆ gExceptionHandlers

EFI_EXCEPTION_CALLBACK gExceptionHandlers[MAX_AARCH64_EXCEPTION+1] = { 0 }

Definition at line 18 of file AArch64Exception.c.

◆ gExceptionVectorAlignmentMask

PHYSICAL_ADDRESS gExceptionVectorAlignmentMask = ARM_VECTOR_TABLE_ALIGNMENT

Definition at line 20 of file AArch64Exception.c.

◆ gMaxExceptionNumber

UINTN gMaxExceptionNumber = MAX_AARCH64_EXCEPTION

Definition at line 17 of file AArch64Exception.c.

◆ mNewStackBase

STATIC UINTN mNewStackBase[EL0_STACK_SIZE/sizeof(UINTN)]

Definition at line 24 of file AArch64Exception.c.