]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
SecurityPkg/Tcg2Pei: drop Tcg2PhysicalPresenceLib dependency
[mirror_edk2.git] / SecurityPkg / Tcg / Tcg2Pei / Tcg2Pei.inf
CommitLineData
1abfa4ce
JY
1## @file\r
2# Initializes TPM 2.0 device and measure FVs in PEI phase\r
3#\r
6d92ae11
ZC
4# Spec Compliance Info:\r
5# "TCG PC Client Platform Firmware Profile Specification for TPM Family 2.0 Level 00 Revision 00.21"\r
6# along with\r
7# "Errata for PC Client Specific Platform Firmware Profile Specification Version 1.0 Revision 0.21"\r
8#\r
1abfa4ce
JY
9# This module will initialize TPM device, measure reported FVs and BIOS version.\r
10#\r
6d92ae11 11# Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>\r
d7c054f9 12# Copyright (c) 2017, Microsoft Corporation. All rights reserved. <BR>\r
1abfa4ce
JY
13# This program and the accompanying materials\r
14# are licensed and made available under the terms and conditions of the BSD License\r
15# which accompanies this distribution. The full text of the license may be found at\r
16# http://opensource.org/licenses/bsd-license.php\r
17# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
18# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
19#\r
20##\r
21\r
22[Defines]\r
23 INF_VERSION = 0x00010005\r
24 BASE_NAME = Tcg2Pei\r
25 MODULE_UNI_FILE = Tcg2Pei.uni\r
26 FILE_GUID = A0C98B77-CBA5-4BB8-993B-4AF6CE33ECE4\r
27 MODULE_TYPE = PEIM\r
28 VERSION_STRING = 1.0\r
29 ENTRY_POINT = PeimEntryMA\r
30\r
31#\r
32# The following information is for reference only and not required by the build tools.\r
33#\r
34# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
35#\r
36# [BootMode]\r
37# S3_RESUME ## SOMETIMES_CONSUMES\r
38#\r
39\r
40[Sources]\r
41 Tcg2Pei.c\r
42\r
43[Packages]\r
44 MdePkg/MdePkg.dec\r
45 MdeModulePkg/MdeModulePkg.dec\r
46 SecurityPkg/SecurityPkg.dec\r
47\r
48[LibraryClasses]\r
49 HobLib\r
50 PeimEntryPoint\r
51 PeiServicesLib\r
52 BaseMemoryLib\r
53 DebugLib\r
54 Tpm2CommandLib\r
55 PeiServicesTablePointerLib\r
56 Tpm2DeviceLib\r
57 HashLib\r
58 PerformanceLib\r
59 MemoryAllocationLib\r
60 ReportStatusCodeLib\r
5919a960 61 ResetSystemLib\r
1abfa4ce
JY
62\r
63[Guids]\r
64 gTcgEventEntryHobGuid ## PRODUCES ## HOB\r
65 gTpmErrorHobGuid ## SOMETIMES_PRODUCES ## HOB\r
66 gMeasuredFvHobGuid ## PRODUCES ## HOB\r
67 gTcgEvent2EntryHobGuid ## PRODUCES ## HOB\r
68 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_PRODUCES ## GUID # TPM device identifier\r
69 gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_PRODUCES ## GUID # TPM device identifier\r
70\r
71[Ppis]\r
72 gEfiPeiFirmwareVolumeInfoPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY\r
73 gEfiPeiFirmwareVolumeInfo2PpiGuid ## SOMETIMES_CONSUMES ## NOTIFY\r
74 gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid ## SOMETIMES_CONSUMES\r
75 gPeiTpmInitializedPpiGuid ## SOMETIMES_PRODUCES\r
76 gPeiTpmInitializationDonePpiGuid ## PRODUCES\r
77 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY\r
d7c054f9 78 gEdkiiPeiFirmwareVolumeInfoPrehashedFvPpiGuid ## SOMETIMES_CONSUMES\r
1abfa4ce
JY
79\r
80[Pcd]\r
81 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## SOMETIMES_CONSUMES\r
82 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES\r
83 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy ## CONSUMES\r
84 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy ## SOMETIMES_CONSUMES\r
85 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy ## CONSUMES\r
86 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES\r
87 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES\r
1b03c80c
LG
88 ## SOMETIMES_CONSUMES\r
89 ## SOMETIMES_PRODUCES\r
90 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask\r
1abfa4ce
JY
91\r
92[Depex]\r
93 gEfiPeiMasterBootModePpiGuid AND\r
94 gEfiPeiReadOnlyVariable2PpiGuid AND\r
95 gEfiTpmDeviceSelectedGuid\r
96\r
97[UserExtensions.TianoCore."ExtraFiles"]\r
98 Tcg2PeiExtra.uni\r