Update TcgPei and TrEEPei driver to make gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMax...
[mirror_edk2.git] / SecurityPkg / Tcg / TrEEPei / TrEEPei.inf
1 ## @file
2 # This module will initialize TPM2 device and measure FVs in PEI phase.
3 #
4 # Copyright (c) 2013 - 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 = TrEEPei
17 FILE_GUID = CA5A1928-6523-409d-A9FE-5DCC87387222
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 TrEEPei.c
30
31 [Packages]
32 MdePkg/MdePkg.dec
33 MdeModulePkg/MdeModulePkg.dec
34 SecurityPkg/SecurityPkg.dec
35
36 [LibraryClasses]
37 HobLib
38 PeimEntryPoint
39 PeiServicesLib
40 BaseMemoryLib
41 DebugLib
42 Tpm2CommandLib
43 PeiServicesTablePointerLib
44 Tpm2DeviceLib
45 HashLib
46 PerformanceLib
47 MemoryAllocationLib
48
49 [Guids]
50 gTcgEventEntryHobGuid
51 gMeasuredFvHobGuid
52 gEfiTpmDeviceInstanceNoneGuid
53 gEfiTpmDeviceInstanceTpm12Guid
54
55 [Ppis]
56 gEfiPeiFirmwareVolumeInfoPpiGuid
57 gEfiPeiFirmwareVolumeInfo2PpiGuid
58 gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid
59 gPeiTpmInitializedPpiGuid
60 gEfiEndOfPeiSignalPpiGuid
61
62 [Pcd]
63 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## CONSUMES
64 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid
65 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy
66 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy
67 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy
68
69 [FixedPcd]
70 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
71
72 [Depex]
73 gEfiPeiMasterBootModePpiGuid AND
74 gEfiPeiReadOnlyVariable2PpiGuid AND
75 gEfiTpmDeviceSelectedGuid