]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
SecurityPkg: Add TCG Spec info to TCG related modules
[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
1abfa4ce
JY
12# This program and the accompanying materials\r
13# are licensed and made available under the terms and conditions of the BSD License\r
14# which accompanies this distribution. The full text of the license may be found at\r
15# http://opensource.org/licenses/bsd-license.php\r
16# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
17# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
18#\r
19##\r
20\r
21[Defines]\r
22 INF_VERSION = 0x00010005\r
23 BASE_NAME = Tcg2Pei\r
24 MODULE_UNI_FILE = Tcg2Pei.uni\r
25 FILE_GUID = A0C98B77-CBA5-4BB8-993B-4AF6CE33ECE4\r
26 MODULE_TYPE = PEIM\r
27 VERSION_STRING = 1.0\r
28 ENTRY_POINT = PeimEntryMA\r
29\r
30#\r
31# The following information is for reference only and not required by the build tools.\r
32#\r
33# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
34#\r
35# [BootMode]\r
36# S3_RESUME ## SOMETIMES_CONSUMES\r
37#\r
38\r
39[Sources]\r
40 Tcg2Pei.c\r
41\r
42[Packages]\r
43 MdePkg/MdePkg.dec\r
44 MdeModulePkg/MdeModulePkg.dec\r
45 SecurityPkg/SecurityPkg.dec\r
46\r
47[LibraryClasses]\r
48 HobLib\r
49 PeimEntryPoint\r
50 PeiServicesLib\r
51 BaseMemoryLib\r
52 DebugLib\r
53 Tpm2CommandLib\r
54 PeiServicesTablePointerLib\r
55 Tpm2DeviceLib\r
56 HashLib\r
57 PerformanceLib\r
58 MemoryAllocationLib\r
59 ReportStatusCodeLib\r
60 Tcg2PhysicalPresenceLib\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
78\r
79[Pcd]\r
80 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## SOMETIMES_CONSUMES\r
81 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES\r
82 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy ## CONSUMES\r
83 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy ## SOMETIMES_CONSUMES\r
84 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy ## CONSUMES\r
85 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES\r
86 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES\r
1b03c80c
LG
87 ## SOMETIMES_CONSUMES\r
88 ## SOMETIMES_PRODUCES\r
89 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask\r
1abfa4ce
JY
90\r
91[Depex]\r
92 gEfiPeiMasterBootModePpiGuid AND\r
93 gEfiPeiReadOnlyVariable2PpiGuid AND\r
94 gEfiTpmDeviceSelectedGuid\r
95\r
96[UserExtensions.TianoCore."ExtraFiles"]\r
97 Tcg2PeiExtra.uni\r