]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ArmPkg / Library / ArmExceptionLib / ArmExceptionLib.inf
1 ## @file
2 # Instance of CpuExceptionHandlerLib Library for ARM/AArch64 architectures
3 #
4 # This library instance is used for modules that will implement exception
5 # handlers in-place (by programming VBAR). The exception handlers will be
6 # generated with alignment as required by the processor architecture. The
7 # alignment must be propagated into the parent FFS/FV through FDF build rules
8 # for the relevant module types (i.e. Align=Auto).
9 #
10 # Note that using this library instance can cause growth to the size of the FV
11 # due to the padding added by the build tools to meet the vector alignment
12 # requirements and may not be desirable for space-sensitive FVs (uncompressed /
13 # XIP components). The alternative library instance, ArmRelocateExceptionLib
14 # should be considered for these applications.
15 #
16 # Copyright (c) 2011-2012, ARM Limited. All rights reserved.
17 # Copyright (c) 2016 HP Development Company, L.P.
18 #
19 # SPDX-License-Identifier: BSD-2-Clause-Patent
20 #
21 #
22
23 [Defines]
24 INF_VERSION = 0x00010005
25 BASE_NAME = ArmExceptionLib
26 FILE_GUID = A9796991-4E88-47F0-87C5-D96A1D270539
27 MODULE_TYPE = BASE
28 VERSION_STRING = 1.0
29 LIBRARY_CLASS = CpuExceptionHandlerLib
30
31 [Sources.common]
32 ArmExceptionLib.c
33
34 [Sources.Arm]
35 Arm/ArmException.c
36 Arm/ExceptionSupport.S | GCC
37
38 [Sources.AARCH64]
39 AArch64/AArch64Exception.c
40 AArch64/ExceptionSupport.S
41
42 [Packages]
43 MdePkg/MdePkg.dec
44 MdeModulePkg/MdeModulePkg.dec
45 ArmPkg/ArmPkg.dec
46
47 [LibraryClasses]
48 ArmLib
49 BaseMemoryLib
50 CacheMaintenanceLib
51 DebugLib
52 DefaultExceptionHandlerLib
53 MemoryAllocationLib
54
55 [Pcd]
56 gArmTokenSpaceGuid.PcdDebuggerExceptionSupport
57 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress