ArmPkg: update CpuDxe to use CpuExceptionHandlerLib

Use the new ARM/AArch64 implementation of the base
CpuExceptionHandlerLib library from CpuDxe to centralize
exception handling.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen <eugene@hp.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
This commit is contained in:
Cohen, Eugene
2016-03-07 15:16:38 +00:00
committed by Ard Biesheuvel
parent 8a47a6cb9e
commit 5811eea0fd
7 changed files with 98 additions and 1402 deletions

View File

@@ -29,17 +29,13 @@
CpuDxe.h
CpuMpCore.c
CpuMmuCommon.c
Exception.c
[Sources.ARM]
Arm/Mmu.c
Arm/Exception.c
Arm/ExceptionSupport.asm | RVCT
Arm/ExceptionSupport.S | GCC
[Sources.AARCH64]
AArch64/Mmu.c
AArch64/Exception.c
AArch64/ExceptionSupport.S
[Packages]
ArmPkg/ArmPkg.dec
@@ -52,6 +48,7 @@
BaseMemoryLib
CacheMaintenanceLib
CpuLib
CpuExceptionHandlerLib
DebugLib
DefaultExceptionHandlerLib
DxeServicesTableLib
@@ -69,14 +66,13 @@
gEfiDebugImageInfoTableGuid
gArmMpCoreInfoGuid
gIdleLoopEventGuid
gEfiVectorHandoffTableGuid
[Pcd.common]
gArmTokenSpaceGuid.PcdVFPEnabled
gArmTokenSpaceGuid.PcdCpuVectorBaseAddress
[FeaturePcd.common]
gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport
gArmTokenSpaceGuid.PcdRelocateVectorTable
gArmTokenSpaceGuid.PcdDebuggerExceptionSupport
[Depex]