]> git.proxmox.com Git - mirror_edk2.git/blob - UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
UefiCpuPkg:Add RegisterExceptionHandler in PeiCpuExceptionHandlerLib
[mirror_edk2.git] / UefiCpuPkg / Library / CpuExceptionHandlerLib / Xcode5SecPeiCpuExceptionHandlerLib.inf
1 ## @file
2 # CPU Exception Handler library instance for SEC/PEI modules.
3 #
4 # Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>
5 # Copyright (c) 2012 - 2022, Intel Corporation. All rights reserved.<BR>
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
7 #
8 # This is the XCODE5 variant of the SEC/PEI CpuExceptionHandlerLib. This
9 # variant performs binary patching to fix up addresses that allow the
10 # XCODE5 toolchain to be used.
11 #
12 ##
13
14 [Defines]
15 INF_VERSION = 0x00010005
16 BASE_NAME = Xcode5SecPeiCpuExceptionHandlerLib
17 MODULE_UNI_FILE = Xcode5SecPeiCpuExceptionHandlerLib.uni
18 FILE_GUID = 49C481AF-1621-42F3-8FA1-27C64143E304
19 MODULE_TYPE = PEIM
20 VERSION_STRING = 1.1
21 LIBRARY_CLASS = CpuExceptionHandlerLib|SEC PEI_CORE PEIM
22
23 #
24 # The following information is for reference only and not required by the build tools.
25 #
26 # VALID_ARCHITECTURES = IA32 X64
27 #
28
29 [Sources.Ia32]
30 Ia32/ExceptionHandlerAsm.nasm
31 Ia32/ExceptionTssEntryAsm.nasm
32 Ia32/ArchExceptionHandler.c
33 Ia32/ArchInterruptDefs.h
34
35 [Sources.X64]
36 X64/Xcode5ExceptionHandlerAsm.nasm
37 X64/ArchExceptionHandler.c
38 X64/ArchInterruptDefs.h
39
40 [Sources.common]
41 CpuExceptionCommon.h
42 CpuExceptionCommon.c
43 SecPeiCpuException.c
44
45 [Packages]
46 MdePkg/MdePkg.dec
47 MdeModulePkg/MdeModulePkg.dec
48 UefiCpuPkg/UefiCpuPkg.dec
49
50 [LibraryClasses]
51 BaseLib
52 SerialPortLib
53 PrintLib
54 LocalApicLib
55 PeCoffGetEntryPointLib
56 VmgExitLib
57
58 [Pcd]
59 gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard
60 gUefiCpuPkgTokenSpaceGuid.PcdCpuStackSwitchExceptionList
61 gUefiCpuPkgTokenSpaceGuid.PcdCpuKnownGoodStackSize
62
63 [FeaturePcd]
64 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackGuard ## CONSUMES
65