Add TPM2 implementation.
[mirror_edk2.git] / SecurityPkg / Tcg / TrEEPei / TrEEPei.inf
CommitLineData
c1d93242
JY
1## @file\r
2# This module will initialize TPM2 device and measure FVs in PEI phase.\r
3#\r
4# Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>\r
5# This program and the accompanying materials\r
6# are licensed and made available under the terms and conditions of the BSD License\r
7# which accompanies this distribution. The full text of the license may be found at\r
8# http://opensource.org/licenses/bsd-license.php\r
9# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11#\r
12##\r
13\r
14[Defines]\r
15 INF_VERSION = 0x00010005\r
16 BASE_NAME = TrEEPei\r
17 FILE_GUID = CA5A1928-6523-409d-A9FE-5DCC87387222\r
18 MODULE_TYPE = PEIM\r
19 VERSION_STRING = 1.0\r
20 ENTRY_POINT = PeimEntryMA\r
21\r
22#\r
23# The following information is for reference only and not required by the build tools.\r
24#\r
25# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
26#\r
27\r
28[Sources]\r
29 TrEEPei.c\r
30\r
31[Packages]\r
32 MdePkg/MdePkg.dec\r
33 MdeModulePkg/MdeModulePkg.dec\r
34 SecurityPkg/SecurityPkg.dec\r
35\r
36[LibraryClasses]\r
37 HobLib\r
38 PeimEntryPoint\r
39 PeiServicesLib\r
40 BaseMemoryLib\r
41 DebugLib\r
42 Tpm2CommandLib\r
43 PeiServicesTablePointerLib\r
44 Tpm2DeviceLib\r
45 HashLib\r
46 PerformanceLib\r
47\r
48[Guids]\r
49 gTcgEventEntryHobGuid\r
50 gMeasuredFvHobGuid\r
51 gEfiTpmDeviceInstanceNoneGuid\r
52 gEfiTpmDeviceInstanceTpm12Guid\r
53\r
54[Ppis]\r
55 gEfiPeiFirmwareVolumeInfoPpiGuid\r
56 gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid\r
57 gPeiTpmInitializedPpiGuid\r
58 gEfiEndOfPeiSignalPpiGuid\r
59\r
60[Pcd]\r
61 gEfiSecurityPkgTokenSpaceGuid.PcdHideTpm\r
62 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## CONSUMES\r
63 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid\r
64 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy\r
65 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy\r
66 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy\r
67\r
68[FixedPcd]\r
69 gEfiSecurityPkgTokenSpaceGuid.PcdHideTpmSupport\r
70 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES\r
71\r
72[Depex]\r
73 gEfiPeiMasterBootModePpiGuid AND\r
74 gEfiPeiReadOnlyVariable2PpiGuid AND\r
75 gEfiTpmDeviceSelectedGuid\r