]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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 = Tcg2PhysicalPresenceLibTraditionalConstructor
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 MmTcg2PhysicalPresenceLibCommon.c
34 MmTcg2PhysicalPresenceLibCommon.h
35
36 [Packages]
37 MdePkg/MdePkg.dec
38 MdeModulePkg/MdeModulePkg.dec
39 SecurityPkg/SecurityPkg.dec
40
41 [LibraryClasses]
42 DebugLib
43 Tcg2PpVendorLib
44 MmServicesTableLib
45 BaseMemoryLib
46
47 [Guids]
48 ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"
49 ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"
50 ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresenceFlags"
51 gEfiTcg2PhysicalPresenceGuid
52
53 [Pcd]
54 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer ## CONSUMES
55 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2PhysicalPresenceFlags ## SOMETIMES_CONSUMES
56
57 [Depex]
58 gEfiSmmVariableProtocolGuid