1 ## @file 2 # Set TPM device type 3 # 4 # This module initializes TPM device type based on variable and detection. 5 # NOTE: This module is only for reference only, each platform should have its own setup page. 6 # 7 # Copyright (c) 2013 - 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 = TrEEConfigPei 20 MODULE_UNI_FILE = TrEEConfigPei.uni 21 FILE_GUID = A5C1EF72-9379-4370-B4C7-0F5126CAC38E 22 MODULE_TYPE = PEIM 23 VERSION_STRING = 1.0 24 ENTRY_POINT = TrEEConfigPeimEntryPoint 25 26 # 27 # VALID_ARCHITECTURES = IA32 X64 IPF EBC 28 # 29 # [BootMode] 30 # S3_RESUME ## SOMETIMES_CONSUMES 31 # 32 33 [Sources] 34 TrEEConfigPeim.c 35 TrEEConfigNvData.h 36 TpmDetection.c 37 38 [Packages] 39 MdePkg/MdePkg.dec 40 MdeModulePkg/MdeModulePkg.dec 41 SecurityPkg/SecurityPkg.dec 42 43 [LibraryClasses] 44 BaseLib 45 BaseMemoryLib 46 MemoryAllocationLib 47 PeiServicesLib 48 PeimEntryPoint 49 DebugLib 50 PcdLib 51 TimerLib 52 Tpm12CommandLib 53 Tpm12DeviceLib 54 55 [Guids] 56 ## SOMETIMES_CONSUMES ## Variable:L"TREE_CONFIGURATION" 57 ## SOMETIMES_CONSUMES ## Variable:L"TREE_DEVICE_DETECTION" 58 gTrEEConfigFormSetGuid 59 gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID 60 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier 61 62 [Ppis] 63 gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES 64 gPeiTpmInitializationDonePpiGuid ## SOMETIMES_PRODUCES 65 66 [Pcd] 67 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## PRODUCES 68 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy ## PRODUCES 69 gEfiSecurityPkgTokenSpaceGuid.PcdTpmAutoDetection ## CONSUMES 70 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## SOMETIMES_CONSUMES 71 72 [Depex] 73 gEfiPeiMasterBootModePpiGuid AND 74 gEfiPeiReadOnlyVariable2PpiGuid 75 76 [UserExtensions.TianoCore."ExtraFiles"] 77 TrEEConfigPeiExtra.uni