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 # This program and the accompanying materials
15 # are licensed and made available under the terms and conditions of the BSD License
16 # which accompanies this distribution. The full text of the license may be found at
17 # http://opensource.org/licenses/bsd-license.php
19 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
20 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
25 INF_VERSION = 0x00010005
26 BASE_NAME = ArmRelocateExceptionLib
27 FILE_GUID = 62AA447A-1FBA-429E-9E0D-CE0D2D8DCF58
30 LIBRARY_CLASS = CpuExceptionHandlerLib
37 Arm/ExceptionSupport.asm | RVCT
38 Arm/ExceptionSupport.S | GCC
41 AArch64/AArch64Exception.c
42 AArch64/ExceptionSupport.S
46 MdeModulePkg/MdeModulePkg.dec
52 DefaultExceptionHandlerLib
57 gArmTokenSpaceGuid.PcdDebuggerExceptionSupport
58 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress
61 # We must pass a define to specify that we are relocating vectors so the
62 # vector alignment is relaxed (space savings); note that this must be done
63 # as a define and not a PCD since it affects assembly directives.
64 *_*_*_PP_FLAGS = -DARM_RELOCATE_VECTORS
65 *_*_*_CC_FLAGS = -DARM_RELOCATE_VECTORS