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