10df778df3f6e05cf329005eb6ef9d3cd11c5347
[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
57 ################################################################################
58 #
59 # Package Dependency Section - list of Package files that are required for
60 # this module.
61 #
62 ################################################################################
63
64 [Packages]
65 MdePkg/MdePkg.dec
66 MdeModulePkg/MdeModulePkg.dec
67 UefiCpuPkg/UefiCpuPkg.dec
68 IntelFsp2Pkg/IntelFsp2Pkg.dec
69 IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec
70
71 [LibraryClasses]
72 LocalApicLib
73 SerialPortLib
74
75 [Ppis]
76 gEfiSecPlatformInformationPpiGuid ## CONSUMES
77 gPeiSecPerformancePpiGuid ## CONSUMES
78 gTopOfTemporaryRamPpiGuid ## PRODUCES
79
80 [Pcd]
81 gFspWrapperTokenSpaceGuid.PcdFsptBaseAddress ## CONSUMES
82 gFspWrapperTokenSpaceGuid.PcdFspmBaseAddress ## CONSUMES
83
84 [FixedPcd]
85 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress ## CONSUMES
86 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize ## CONSUMES
87 gFspWrapperTokenSpaceGuid.PcdFlashMicrocodeOffset ## CONSUMES
88 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheAddress ## CONSUMES
89 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize ## CONSUMES