2013-09-18 07:31:18 +02:00
|
|
|
## @file
|
2014-08-28 07:31:09 +02:00
|
|
|
# Set TPM device type
|
|
|
|
#
|
|
|
|
# This module initializes TPM device type based on variable and detection.
|
2013-09-18 07:31:18 +02:00
|
|
|
# NOTE: This module is only for reference only, each platform should have its own setup page.
|
|
|
|
#
|
2014-03-27 12:03:04 +01:00
|
|
|
# Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
|
2013-09-18 07:31:18 +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 = TrEEConfigPei
|
2014-08-28 07:31:09 +02:00
|
|
|
MODULE_UNI_FILE = TrEEConfigPei.uni
|
2013-09-18 07:31:18 +02:00
|
|
|
FILE_GUID = A5C1EF72-9379-4370-B4C7-0F5126CAC38E
|
|
|
|
MODULE_TYPE = PEIM
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = TrEEConfigPeimEntryPoint
|
|
|
|
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
2014-08-28 07:31:09 +02:00
|
|
|
# [BootMode]
|
|
|
|
# S3_RESUME ## SOMETIMES_CONSUMES
|
|
|
|
#
|
2013-09-18 07:31:18 +02:00
|
|
|
|
|
|
|
[Sources]
|
|
|
|
TrEEConfigPeim.c
|
|
|
|
TrEEConfigNvData.h
|
|
|
|
TpmDetection.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
SecurityPkg/SecurityPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseLib
|
|
|
|
BaseMemoryLib
|
|
|
|
MemoryAllocationLib
|
|
|
|
PeiServicesLib
|
|
|
|
PeimEntryPoint
|
|
|
|
DebugLib
|
|
|
|
PcdLib
|
|
|
|
TimerLib
|
|
|
|
IoLib
|
|
|
|
Tpm12CommandLib
|
|
|
|
Tpm12DeviceLib
|
|
|
|
|
|
|
|
[Guids]
|
2014-08-28 07:31:09 +02:00
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"TREE_CONFIGURATION"
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"TREE_DEVICE_DETECTION"
|
2013-09-18 07:31:18 +02:00
|
|
|
gTrEEConfigFormSetGuid
|
2014-08-28 07:31:09 +02:00
|
|
|
gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID
|
2013-09-18 07:31:18 +02:00
|
|
|
|
|
|
|
[Ppis]
|
2014-08-28 07:31:09 +02:00
|
|
|
gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES
|
2013-09-18 07:31:18 +02:00
|
|
|
|
|
|
|
[Pcd]
|
2014-08-28 07:31:09 +02:00
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## PRODUCES
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy ## PRODUCES
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmAutoDetection ## CONSUMES
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## SOMETIMES_CONSUMES
|
2013-09-18 07:31:18 +02:00
|
|
|
|
|
|
|
[Depex]
|
|
|
|
gEfiPeiMasterBootModePpiGuid AND
|
2014-08-28 07:31:09 +02:00
|
|
|
gEfiPeiReadOnlyVariable2PpiGuid
|
|
|
|
|
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
|
|
TrEEConfigPeiExtra.uni
|