1## @file 2# TPM device configuration for TPM 2.0 3# 4# By this module, user may select TPM device, clear TPM state, etc. 5# NOTE: This module is only for reference only, each platform should have its own setup page. 6# 7# Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> 8# SPDX-License-Identifier: BSD-2-Clause-Patent 9# 10## 11 12[Defines] 13 INF_VERSION = 0x00010005 14 BASE_NAME = Tcg2ConfigDxe 15 MODULE_UNI_FILE = Tcg2ConfigDxe.uni 16 FILE_GUID = 4D9CBEF0-15A0-4D0C-83DB-5213E710C23F 17 MODULE_TYPE = DXE_DRIVER 18 VERSION_STRING = 1.0 19 ENTRY_POINT = Tcg2ConfigDriverEntryPoint 20 UNLOAD_IMAGE = Tcg2ConfigDriverUnload 21 22# 23# VALID_ARCHITECTURES = IA32 X64 EBC 24# 25 26[Sources] 27 Tcg2ConfigDriver.c 28 Tcg2ConfigImpl.c 29 Tcg2ConfigImpl.h 30 Tcg2Config.vfr 31 Tcg2ConfigStrings.uni 32 Tcg2ConfigNvData.h 33 Tcg2Internal.h 34 35[Packages] 36 MdePkg/MdePkg.dec 37 MdeModulePkg/MdeModulePkg.dec 38 SecurityPkg/SecurityPkg.dec 39 40[LibraryClasses] 41 BaseLib 42 BaseMemoryLib 43 MemoryAllocationLib 44 UefiLib 45 UefiBootServicesTableLib 46 UefiRuntimeServicesTableLib 47 UefiDriverEntryPoint 48 UefiHiiServicesLib 49 DebugLib 50 HiiLib 51 PcdLib 52 PrintLib 53 Tpm2DeviceLib 54 Tpm2CommandLib 55 Tcg2PhysicalPresenceLib 56 IoLib 57 58[Guids] 59 ## PRODUCES ## HII 60 ## SOMETIMES_PRODUCES ## Variable:L"TCG2_CONFIGURATION" 61 ## SOMETIMES_CONSUMES ## Variable:L"TCG2_CONFIGURATION" 62 ## PRODUCES ## Variable:L"TCG2_DEVICE_DETECTION" 63 ## SOMETIMES_CONSUMES ## Variable:L"TCG2_DEVICE_DETECTION" 64 gTcg2ConfigFormSetGuid 65 66[Protocols] 67 gEfiHiiConfigAccessProtocolGuid ## PRODUCES 68 gEfiDevicePathProtocolGuid ## PRODUCES 69 gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES 70 gEfiTcg2ProtocolGuid ## CONSUMES 71 72[Pcd] 73 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES 74 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap ## CONSUMES 75 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## CONSUMES 76 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer ## CONSUMES 77 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev ## CONSUMES 78 gEfiSecurityPkgTokenSpaceGuid.PcdActiveTpmInterfaceType ## CONSUMES 79 80[Depex] 81 gEfiTcg2ProtocolGuid AND 82 gEfiHiiConfigRoutingProtocolGuid AND 83 gEfiHiiDatabaseProtocolGuid AND 84 gEfiVariableArchProtocolGuid AND 85 gEfiVariableWriteArchProtocolGuid 86 87[UserExtensions.TianoCore."ExtraFiles"] 88 Tcg2ConfigDxeExtra.uni 89