]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
SecurityPkg: Change default value source
[mirror_edk2.git] / SecurityPkg / Library / SmmTcg2PhysicalPresenceLib / SmmTcg2PhysicalPresenceLib.inf
1 ## @file
2 # Handle TPM 2.0 physical presence requests from OS.
3 #
4 # This library will handle TPM 2.0 physical presence request from OS.
5 #
6 # Caution: This module requires additional review when modified.
7 # This driver will have external input - variable.
8 # This external input must be validated carefully to avoid security issue.
9 #
10 # Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.<BR>
11 # SPDX-License-Identifier: BSD-2-Clause-Patent
12 #
13 ##
14
15 [Defines]
16 INF_VERSION = 0x00010005
17 BASE_NAME = SmmTcg2PhysicalPresenceLib
18 MODULE_UNI_FILE = SmmTcg2PhysicalPresenceLib.uni
19 FILE_GUID = AAE02741-858B-4964-9887-CA870489D944
20 MODULE_TYPE = DXE_SMM_DRIVER
21 VERSION_STRING = 1.0
22 LIBRARY_CLASS = Tcg2PhysicalPresenceLib|DXE_SMM_DRIVER
23 CONSTRUCTOR = Tcg2PhysicalPresenceLibConstructor
24
25 #
26 # The following information is for reference only and not required by the build tools.
27 #
28 # VALID_ARCHITECTURES = IA32 X64 EBC
29 #
30
31 [Sources]
32 SmmTcg2PhysicalPresenceLib.c
33
34 [Packages]
35 MdePkg/MdePkg.dec
36 MdeModulePkg/MdeModulePkg.dec
37 SecurityPkg/SecurityPkg.dec
38
39 [LibraryClasses]
40 DebugLib
41 Tcg2PpVendorLib
42 SmmServicesTableLib
43 BaseMemoryLib
44
45 [Guids]
46 ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"
47 ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"
48 ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresenceFlags"
49 gEfiTcg2PhysicalPresenceGuid
50
51 [Pcd]
52 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer ## CONSUMES
53 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2PhysicalPresenceFlags ## SOMETIMES_CONSUMES
54
55 [Depex]
56 gEfiSmmVariableProtocolGuid