]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
SecurityPkg Tcg2ConfigDxe: Add setup option to configure PPI version
[mirror_edk2.git] / SecurityPkg / Tcg / Tcg2Config / Tcg2ConfigDxe.inf
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 - 2017, 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 = Tcg2ConfigDxe
20 MODULE_UNI_FILE = Tcg2ConfigDxe.uni
21 FILE_GUID = 4D9CBEF0-15A0-4D0C-83DB-5213E710C23F
22 MODULE_TYPE = DXE_DRIVER
23 VERSION_STRING = 1.0
24 ENTRY_POINT = Tcg2ConfigDriverEntryPoint
25 UNLOAD_IMAGE = Tcg2ConfigDriverUnload
26
27 #
28 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
29 #
30
31 [Sources]
32 Tcg2ConfigDriver.c
33 Tcg2ConfigImpl.c
34 Tcg2ConfigImpl.h
35 Tcg2Config.vfr
36 Tcg2ConfigStrings.uni
37 Tcg2ConfigNvData.h
38
39 [Packages]
40 MdePkg/MdePkg.dec
41 MdeModulePkg/MdeModulePkg.dec
42 SecurityPkg/SecurityPkg.dec
43
44 [LibraryClasses]
45 BaseLib
46 BaseMemoryLib
47 MemoryAllocationLib
48 UefiLib
49 UefiBootServicesTableLib
50 UefiRuntimeServicesTableLib
51 UefiDriverEntryPoint
52 UefiHiiServicesLib
53 DebugLib
54 HiiLib
55 PcdLib
56 PrintLib
57 Tpm2DeviceLib
58 Tpm2CommandLib
59 Tcg2PhysicalPresenceLib
60 IoLib
61
62 [Guids]
63 ## PRODUCES ## HII
64 ## SOMETIMES_PRODUCES ## Variable:L"TCG2_CONFIGURATION"
65 ## SOMETIMES_CONSUMES ## Variable:L"TCG2_CONFIGURATION"
66 ## PRODUCES ## Variable:L"TCG2_DEVICE_DETECTION"
67 ## SOMETIMES_CONSUMES ## Variable:L"TCG2_DEVICE_DETECTION"
68 gTcg2ConfigFormSetGuid
69
70 [Protocols]
71 gEfiHiiConfigAccessProtocolGuid ## PRODUCES
72 gEfiDevicePathProtocolGuid ## PRODUCES
73 gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES
74 gEfiTcg2ProtocolGuid ## CONSUMES
75
76 [Pcd]
77 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES
78 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap ## CONSUMES
79 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## CONSUMES
80 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer ## CONSUMES
81
82 [Depex]
83 gEfiTcg2ProtocolGuid AND
84 gEfiHiiConfigRoutingProtocolGuid AND
85 gEfiHiiDatabaseProtocolGuid AND
86 gEfiVariableArchProtocolGuid AND
87 gEfiVariableWriteArchProtocolGuid
88
89 [UserExtensions.TianoCore."ExtraFiles"]
90 Tcg2ConfigDxeExtra.uni