Update TcgPei and TrEEPei driver to make gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMax...
[mirror_edk2.git] / SecurityPkg / Tcg / TcgPei / TcgPei.inf
1 ## @file
2 # This module will initialize TPM device and measure FVs in PEI phase.
3 #
4 # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
5 # This program and the accompanying materials
6 # are licensed and made available under the terms and conditions of the BSD License
7 # which accompanies this distribution. The full text of the license may be found at
8 # http://opensource.org/licenses/bsd-license.php
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 #
12 ##
13
14 [Defines]
15 INF_VERSION = 0x00010005
16 BASE_NAME = TcgPei
17 FILE_GUID = 2BE1E4A6-6505-43b3-9FFC-A3C8330E0432
18 MODULE_TYPE = PEIM
19 VERSION_STRING = 1.0
20 ENTRY_POINT = PeimEntryMA
21
22 #
23 # The following information is for reference only and not required by the build tools.
24 #
25 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
26 #
27
28 [Sources]
29 TcgPei.c
30 TisPei.c
31 TpmComm.c
32 TpmComm.h
33
34 [Packages]
35 MdePkg/MdePkg.dec
36 MdeModulePkg/MdeModulePkg.dec
37 SecurityPkg/SecurityPkg.dec
38
39 [LibraryClasses]
40 HobLib
41 PeimEntryPoint
42 PeiServicesLib
43 BaseMemoryLib
44 DebugLib
45 TpmCommLib
46 TimerLib
47 IoLib
48 PeiServicesTablePointerLib
49 BaseLib
50 PcdLib
51 MemoryAllocationLib
52
53 [Guids]
54 gTcgEventEntryHobGuid
55 gMeasuredFvHobGuid
56 gEfiTpmDeviceInstanceTpm12Guid
57
58 [Ppis]
59 gPeiLockPhysicalPresencePpiGuid
60 gEfiPeiFirmwareVolumeInfoPpiGuid
61 gEfiPeiFirmwareVolumeInfo2PpiGuid
62 gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid
63 gPeiTpmInitializedPpiGuid
64 gEfiEndOfPeiSignalPpiGuid
65
66 [Pcd]
67 gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceLifetimeLock
68 gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceCmdEnable
69 gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceHwEnable
70 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## CONSUMES
71 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid
72 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy
73 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy
74
75 [FixedPcd]
76 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
77
78 [Depex]
79 gEfiPeiMasterBootModePpiGuid AND
80 gEfiPeiReadOnlyVariable2PpiGuid AND
81 gEfiTpmDeviceSelectedGuid