2 # Initializes TPM 2.0 device and measure FVs in PEI phase
4 # This module will initialize TPM device, measure reported FVs and BIOS version.
6 # Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 INF_VERSION = 0x00010005
19 MODULE_UNI_FILE = Tcg2Pei.uni
20 FILE_GUID = A0C98B77-CBA5-4BB8-993B-4AF6CE33ECE4
23 ENTRY_POINT = PeimEntryMA
26 # The following information is for reference only and not required by the build tools.
28 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
31 # S3_RESUME ## SOMETIMES_CONSUMES
39 MdeModulePkg/MdeModulePkg.dec
40 SecurityPkg/SecurityPkg.dec
49 PeiServicesTablePointerLib
55 Tcg2PhysicalPresenceLib
59 gTcgEventEntryHobGuid ## PRODUCES ## HOB
60 gTpmErrorHobGuid ## SOMETIMES_PRODUCES ## HOB
61 gMeasuredFvHobGuid ## PRODUCES ## HOB
62 gTcgEvent2EntryHobGuid ## PRODUCES ## HOB
63 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_PRODUCES ## GUID # TPM device identifier
64 gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_PRODUCES ## GUID # TPM device identifier
67 gEfiPeiFirmwareVolumeInfoPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY
68 gEfiPeiFirmwareVolumeInfo2PpiGuid ## SOMETIMES_CONSUMES ## NOTIFY
69 gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid ## SOMETIMES_CONSUMES
70 gPeiTpmInitializedPpiGuid ## SOMETIMES_PRODUCES
71 gPeiTpmInitializationDonePpiGuid ## PRODUCES
72 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY
75 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## SOMETIMES_CONSUMES
76 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES
77 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy ## CONSUMES
78 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy ## SOMETIMES_CONSUMES
79 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy ## CONSUMES
80 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
81 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES
84 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask
87 gEfiPeiMasterBootModePpiGuid AND
88 gEfiPeiReadOnlyVariable2PpiGuid AND
89 gEfiTpmDeviceSelectedGuid
91 [UserExtensions.TianoCore."ExtraFiles"]