2011-09-02 09:49:32 +02:00
|
|
|
## @file
|
|
|
|
# This module will initialize TPM device and measure FVs in PEI phase.
|
|
|
|
#
|
2014-03-27 12:03:04 +01:00
|
|
|
# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
2011-09-02 09:49:32 +02:00
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = TcgPei
|
|
|
|
FILE_GUID = 2BE1E4A6-6505-43b3-9FFC-A3C8330E0432
|
|
|
|
MODULE_TYPE = PEIM
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = PeimEntryMA
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
TcgPei.c
|
|
|
|
TisPei.c
|
|
|
|
TpmComm.c
|
|
|
|
TpmComm.h
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
SecurityPkg/SecurityPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
HobLib
|
|
|
|
PeimEntryPoint
|
|
|
|
PeiServicesLib
|
|
|
|
BaseMemoryLib
|
|
|
|
DebugLib
|
|
|
|
TpmCommLib
|
|
|
|
TimerLib
|
|
|
|
IoLib
|
|
|
|
PeiServicesTablePointerLib
|
2012-08-27 02:52:18 +02:00
|
|
|
BaseLib
|
|
|
|
PcdLib
|
2014-08-20 11:37:26 +02:00
|
|
|
MemoryAllocationLib
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gTcgEventEntryHobGuid
|
2012-09-28 02:57:02 +02:00
|
|
|
gMeasuredFvHobGuid
|
2013-09-18 07:31:18 +02:00
|
|
|
gEfiTpmDeviceInstanceTpm12Guid
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[Ppis]
|
|
|
|
gPeiLockPhysicalPresencePpiGuid
|
|
|
|
gEfiPeiFirmwareVolumeInfoPpiGuid
|
2013-10-11 05:54:13 +02:00
|
|
|
gEfiPeiFirmwareVolumeInfo2PpiGuid
|
2013-09-18 07:31:18 +02:00
|
|
|
gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid
|
2011-09-02 09:49:32 +02:00
|
|
|
gPeiTpmInitializedPpiGuid
|
2012-09-11 04:26:50 +02:00
|
|
|
gEfiEndOfPeiSignalPpiGuid
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[Pcd]
|
2012-07-26 07:11:47 +02:00
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceLifetimeLock
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceCmdEnable
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceHwEnable
|
2012-09-06 04:46:07 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## CONSUMES
|
2013-09-18 07:31:18 +02:00
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy
|
2011-09-02 09:49:32 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
|
|
|
|
|
|
|
|
[Depex]
|
|
|
|
gEfiPeiMasterBootModePpiGuid AND
|
2013-09-18 07:31:18 +02:00
|
|
|
gEfiPeiReadOnlyVariable2PpiGuid AND
|
|
|
|
gEfiTpmDeviceSelectedGuid
|