1## @file 2# Initializes TPM device and measures FVs in PEI phase 3# 4# This module will initialize TPM device, measure reported FVs and BIOS version. 5# This module may also lock TPM physical presence and physicalPresenceLifetimeLock. 6# 7# Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> 8# This program and the accompanying materials 9# are licensed and made available under the terms and conditions of the BSD License 10# which accompanies this distribution. The full text of the license may be found at 11# http://opensource.org/licenses/bsd-license.php 12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 14# 15## 16 17[Defines] 18 INF_VERSION = 0x00010005 19 BASE_NAME = TcgPei 20 MODULE_UNI_FILE = TcgPei.uni 21 FILE_GUID = 2BE1E4A6-6505-43b3-9FFC-A3C8330E0432 22 MODULE_TYPE = PEIM 23 VERSION_STRING = 1.0 24 ENTRY_POINT = PeimEntryMA 25 26# 27# The following information is for reference only and not required by the build tools. 28# 29# VALID_ARCHITECTURES = IA32 X64 IPF EBC 30# 31# [BootMode] 32# S3_RESUME ## SOMETIMES_CONSUMES 33# 34 35[Sources] 36 TcgPei.c 37 38[Packages] 39 MdePkg/MdePkg.dec 40 MdeModulePkg/MdeModulePkg.dec 41 CryptoPkg/CryptoPkg.dec 42 SecurityPkg/SecurityPkg.dec 43 44[LibraryClasses] 45 HobLib 46 PeimEntryPoint 47 PeiServicesLib 48 BaseMemoryLib 49 DebugLib 50 BaseCryptLib 51 Tpm12DeviceLib 52 TimerLib 53 PeiServicesTablePointerLib 54 BaseLib 55 PcdLib 56 MemoryAllocationLib 57 ReportStatusCodeLib 58 Tpm12CommandLib 59 60[Guids] 61 gTcgEventEntryHobGuid ## PRODUCES ## HOB 62 gTpmErrorHobGuid ## SOMETIMES_PRODUCES ## HOB 63 gMeasuredFvHobGuid ## PRODUCES ## HOB 64 gEfiTpmDeviceInstanceTpm12Guid ## PRODUCES ## GUID # TPM device identifier 65 66[Ppis] 67 gPeiLockPhysicalPresencePpiGuid ## SOMETIMES_CONSUMES ## NOTIFY 68 gEfiPeiFirmwareVolumeInfoPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY 69 gEfiPeiFirmwareVolumeInfo2PpiGuid ## SOMETIMES_CONSUMES ## NOTIFY 70 gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid ## SOMETIMES_CONSUMES 71 gPeiTpmInitializedPpiGuid ## SOMETIMES_PRODUCES 72 gPeiTpmInitializationDonePpiGuid ## PRODUCES 73 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY 74 75[Pcd] 76 gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceLifetimeLock ## SOMETIMES_CONSUMES 77 gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceCmdEnable ## SOMETIMES_CONSUMES 78 gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceHwEnable ## SOMETIMES_CONSUMES 79 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## SOMETIMES_CONSUMES 80 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES 81 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy ## CONSUMES 82 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy ## SOMETIMES_CONSUMES 83 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES 84 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES 85 86[Depex] 87 gEfiPeiMasterBootModePpiGuid AND 88 gEfiPeiReadOnlyVariable2PpiGuid AND 89 gEfiTpmDeviceSelectedGuid 90 91[UserExtensions.TianoCore."ExtraFiles"] 92 TcgPeiExtra.uni 93