# This module will initialize TPM device, measure reported FVs and BIOS version.\r
# This module may also lock TPM physical presence and physicalPresenceLifetimeLock.\r
#\r
-# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
\r
[Sources]\r
TcgPei.c\r
- TisPei.c\r
- TpmComm.c\r
- TpmComm.h\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
+ CryptoPkg/CryptoPkg.dec\r
SecurityPkg/SecurityPkg.dec\r
\r
[LibraryClasses]\r
PeiServicesLib\r
BaseMemoryLib\r
DebugLib\r
- TpmCommLib\r
+ BaseCryptLib\r
+ Tpm12DeviceLib\r
TimerLib\r
- IoLib\r
PeiServicesTablePointerLib\r
BaseLib\r
PcdLib\r
MemoryAllocationLib\r
+ ReportStatusCodeLib\r
+ Tpm12CommandLib\r
\r
[Guids]\r
gTcgEventEntryHobGuid ## PRODUCES ## HOB\r
+ gTpmErrorHobGuid ## SOMETIMES_PRODUCES ## HOB\r
gMeasuredFvHobGuid ## PRODUCES ## HOB\r
gEfiTpmDeviceInstanceTpm12Guid ## PRODUCES ## GUID # TPM device identifier\r
\r
gEfiPeiFirmwareVolumeInfoPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY\r
gEfiPeiFirmwareVolumeInfo2PpiGuid ## SOMETIMES_CONSUMES ## NOTIFY\r
gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid ## SOMETIMES_CONSUMES\r
- gPeiTpmInitializedPpiGuid ## PRODUCES\r
+ gPeiTpmInitializedPpiGuid ## SOMETIMES_PRODUCES\r
+ gPeiTpmInitializationDonePpiGuid ## PRODUCES\r
gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY\r
\r
[Pcd]\r
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy ## CONSUMES\r
gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy ## SOMETIMES_CONSUMES\r
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES\r
+ gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES\r
\r
[Depex]\r
gEfiPeiMasterBootModePpiGuid AND\r