]>
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 | |
19 | # This program and the accompanying materials\r | |
20 | # are licensed and made available under the terms and conditions of the BSD License\r | |
21 | # which accompanies this distribution. The full text of the license may be found at\r | |
22 | # http://opensource.org/licenses/bsd-license.php\r | |
23 | #\r | |
24 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
25 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
26 | #\r | |
27 | #\r | |
28 | \r | |
29 | [Defines]\r | |
30 | INF_VERSION = 0x00010005\r | |
31 | BASE_NAME = ArmExceptionLib\r | |
32 | FILE_GUID = A9796991-4E88-47F0-87C5-D96A1D270539\r | |
33 | MODULE_TYPE = BASE\r | |
34 | VERSION_STRING = 1.0\r | |
35 | LIBRARY_CLASS = CpuExceptionHandlerLib\r | |
36 | \r | |
37 | [Sources.common]\r | |
38 | ArmExceptionLib.c\r | |
39 | \r | |
40 | [Sources.Arm]\r | |
41 | Arm/ArmException.c\r | |
42 | Arm/ExceptionSupport.asm | RVCT\r | |
43 | Arm/ExceptionSupport.S | GCC\r | |
44 | \r | |
45 | [Sources.AARCH64]\r | |
46 | AArch64/AArch64Exception.c\r | |
47 | AArch64/ExceptionSupport.S\r | |
48 | \r | |
49 | [Packages]\r | |
50 | MdePkg/MdePkg.dec\r | |
51 | MdeModulePkg/MdeModulePkg.dec\r | |
52 | ArmPkg/ArmPkg.dec\r | |
53 | \r | |
54 | [LibraryClasses]\r | |
55 | ArmLib\r | |
2939c778 EC |
56 | BaseMemoryLib\r |
57 | CacheMaintenanceLib\r | |
2d120489 AB |
58 | DebugLib\r |
59 | DefaultExceptionHandlerLib\r | |
60 | MemoryAllocationLib\r | |
2939c778 EC |
61 | \r |
62 | [Pcd]\r | |
63 | gArmTokenSpaceGuid.PcdDebuggerExceptionSupport\r | |
64 | gArmTokenSpaceGuid.PcdCpuVectorBaseAddress\r |