f5fb3d1acb96215c711daafa598d80d9ffd9d765
[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
48 [Guids]
49 gTcgEventEntryHobGuid
50 gMeasuredFvHobGuid
51 gEfiTpmDeviceInstanceNoneGuid
52 gEfiTpmDeviceInstanceTpm12Guid
53
54 [Ppis]
55 gEfiPeiFirmwareVolumeInfoPpiGuid
56 gEfiPeiFirmwareVolumeInfo2PpiGuid
57 gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid
58 gPeiTpmInitializedPpiGuid
59 gEfiEndOfPeiSignalPpiGuid
60
61 [Pcd]
62 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## CONSUMES
63 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid
64 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy
65 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy
66 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy
67
68 [FixedPcd]
69 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
70
71 [Depex]
72 gEfiPeiMasterBootModePpiGuid AND
73 gEfiPeiReadOnlyVariable2PpiGuid AND
74 gEfiTpmDeviceSelectedGuid