2 # Instance of CpuExceptionHandlerLib Library for ARM/AArch64 architectures
4 # This library instance is used when exception vectors must be relocated to
5 # a specific address. The address is specified by PcdCpuVectorBaseAddress.
6 # Since the alignment requirement for in-place exception handlers causes
7 # image size to increase, this instance is useful for modules that need to
8 # minimize space used in their FV (like XIP modules). See ArmExceptionLib.inf
9 # for the in-place exception handler alternative.
11 # Copyright (c) 2011-2012, ARM Limited. All rights reserved.
12 # Copyright (c) 2016 HP Development Company, L.P.
14 # SPDX-License-Identifier: BSD-2-Clause-Patent
19 INF_VERSION = 0x00010005
20 BASE_NAME = ArmRelocateExceptionLib
21 FILE_GUID = 62AA447A-1FBA-429E-9E0D-CE0D2D8DCF58
24 LIBRARY_CLASS = CpuExceptionHandlerLib
31 Arm/ExceptionSupport.S | GCC
34 AArch64/AArch64Exception.c
35 AArch64/ExceptionSupport.S
39 MdeModulePkg/MdeModulePkg.dec
45 DefaultExceptionHandlerLib
50 gArmTokenSpaceGuid.PcdDebuggerExceptionSupport
51 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress
54 # We must pass a define to specify that we are relocating vectors so the
55 # vector alignment is relaxed (space savings); note that this must be done
56 # as a define and not a PCD since it affects assembly directives.
57 *_*_*_PP_FLAGS = -DARM_RELOCATE_VECTORS
58 *_*_*_CC_FLAGS = -DARM_RELOCATE_VECTORS