2 # Initializes TPM 2.0 device and measure FVs in PEI phase
4 # Spec Compliance Info:
5 # "TCG PC Client Platform Firmware Profile Specification for TPM Family 2.0 Level 00 Revision 00.21"
7 # "Errata for PC Client Specific Platform Firmware Profile Specification Version 1.0 Revision 0.21"
9 # This module will initialize TPM device, measure reported FVs and BIOS version.
11 # Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
12 # This program and the accompanying materials
13 # are licensed and made available under the terms and conditions of the BSD License
14 # which accompanies this distribution. The full text of the license may be found at
15 # http://opensource.org/licenses/bsd-license.php
16 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 INF_VERSION = 0x00010005
24 MODULE_UNI_FILE = Tcg2Pei.uni
25 FILE_GUID = A0C98B77-CBA5-4BB8-993B-4AF6CE33ECE4
28 ENTRY_POINT = PeimEntryMA
31 # The following information is for reference only and not required by the build tools.
33 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
36 # S3_RESUME ## SOMETIMES_CONSUMES
44 MdeModulePkg/MdeModulePkg.dec
45 SecurityPkg/SecurityPkg.dec
54 PeiServicesTablePointerLib
60 Tcg2PhysicalPresenceLib
64 gTcgEventEntryHobGuid ## PRODUCES ## HOB
65 gTpmErrorHobGuid ## SOMETIMES_PRODUCES ## HOB
66 gMeasuredFvHobGuid ## PRODUCES ## HOB
67 gTcgEvent2EntryHobGuid ## PRODUCES ## HOB
68 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_PRODUCES ## GUID # TPM device identifier
69 gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_PRODUCES ## GUID # TPM device identifier
72 gEfiPeiFirmwareVolumeInfoPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY
73 gEfiPeiFirmwareVolumeInfo2PpiGuid ## SOMETIMES_CONSUMES ## NOTIFY
74 gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid ## SOMETIMES_CONSUMES
75 gPeiTpmInitializedPpiGuid ## SOMETIMES_PRODUCES
76 gPeiTpmInitializationDonePpiGuid ## PRODUCES
77 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY
80 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## SOMETIMES_CONSUMES
81 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES
82 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy ## CONSUMES
83 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy ## SOMETIMES_CONSUMES
84 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy ## CONSUMES
85 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
86 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES
89 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask
92 gEfiPeiMasterBootModePpiGuid AND
93 gEfiPeiReadOnlyVariable2PpiGuid AND
94 gEfiTpmDeviceSelectedGuid
96 [UserExtensions.TianoCore."ExtraFiles"]