]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecFspWrapperPlatformSecLibSample.inf
IntelFsp2WrapperPkg SecFspWrapperPlatformSecLibSample: Convert ASM to NASM
[mirror_edk2.git] / IntelFsp2WrapperPkg / Library / SecFspWrapperPlatformSecLibSample / SecFspWrapperPlatformSecLibSample.inf
1 ## @file
2 # Sample to provide FSP wrapper platform sec related function.
3 #
4 # Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php.
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 #
13 ##
14
15 ################################################################################
16 #
17 # Defines Section - statements that will be processed to create a Makefile.
18 #
19 ################################################################################
20 [Defines]
21 INF_VERSION = 0x00010005
22 BASE_NAME = SecFspWrapperPlatformSecLibSample
23 FILE_GUID = 8F1AC44A-CE7E-4E29-95BB-92E321BB1573
24 MODULE_TYPE = SEC
25 VERSION_STRING = 1.0
26 LIBRARY_CLASS = FspWrapperPlatformSecLib
27
28 #
29 # The following information is for reference only and not required by the build tools.
30 #
31 # VALID_ARCHITECTURES = IA32 X64
32 #
33
34 ################################################################################
35 #
36 # Sources Section - list of files that are required for the build to succeed.
37 #
38 ################################################################################
39
40 [Sources]
41 FspWrapperPlatformSecLibSample.c
42 SecRamInitData.c
43 SecPlatformInformation.c
44 SecGetPerformance.c
45 SecTempRamDone.c
46 PlatformInit.c
47
48 [Sources.IA32]
49 Ia32/SecEntry.asm
50 Ia32/PeiCoreEntry.asm
51 Ia32/Stack.asm
52 Ia32/Fsp.h
53 Ia32/SecEntry.S
54 Ia32/PeiCoreEntry.S
55 Ia32/Stack.S
56 Ia32/SecEntry.nasm
57 Ia32/PeiCoreEntry.nasm
58 Ia32/Stack.nasm
59
60 ################################################################################
61 #
62 # Package Dependency Section - list of Package files that are required for
63 # this module.
64 #
65 ################################################################################
66
67 [Packages]
68 MdePkg/MdePkg.dec
69 MdeModulePkg/MdeModulePkg.dec
70 UefiCpuPkg/UefiCpuPkg.dec
71 IntelFsp2Pkg/IntelFsp2Pkg.dec
72 IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec
73
74 [LibraryClasses]
75 LocalApicLib
76 SerialPortLib
77
78 [Ppis]
79 gEfiSecPlatformInformationPpiGuid ## CONSUMES
80 gPeiSecPerformancePpiGuid ## CONSUMES
81 gTopOfTemporaryRamPpiGuid ## PRODUCES
82
83 [Pcd]
84 gIntelFsp2WrapperTokenSpaceGuid.PcdFsptBaseAddress ## CONSUMES
85 gIntelFsp2WrapperTokenSpaceGuid.PcdFspmBaseAddress ## CONSUMES
86
87 [FixedPcd]
88 gIntelFsp2WrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress ## CONSUMES
89 gIntelFsp2WrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize ## CONSUMES
90 gIntelFsp2WrapperTokenSpaceGuid.PcdFlashMicrocodeOffset ## CONSUMES
91 gIntelFsp2WrapperTokenSpaceGuid.PcdFlashCodeCacheAddress ## CONSUMES
92 gIntelFsp2WrapperTokenSpaceGuid.PcdFlashCodeCacheSize ## CONSUMES