]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPresenceLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / SecurityPkg / Library / SmmTcg2PhysicalPresenceLib / StandaloneMmTcg2PhysicalPresenceLib.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 # Copyright (c) Microsoft Corporation.
12 # SPDX-License-Identifier: BSD-2-Clause-Patent
13 #
14 ##
15
16 [Defines]
17 INF_VERSION = 0x00010005
18 BASE_NAME = StandaloneMmTcg2PhysicalPresenceLib
19 FILE_GUID = 75E3D07B-689C-4F42-A8A0-46AFAE868A6F
20 MODULE_TYPE = MM_STANDALONE
21 PI_SPECIFICATION_VERSION = 0x00010032
22 VERSION_STRING = 1.0
23 LIBRARY_CLASS = Tcg2PhysicalPresenceLib|MM_STANDALONE
24 CONSTRUCTOR = Tcg2PhysicalPresenceLibStandaloneMmConstructor
25
26 #
27 # The following information is for reference only and not required by the build tools.
28 #
29 # VALID_ARCHITECTURES = IA32 X64 EBC
30 #
31
32 [Sources]
33 StandaloneMmTcg2PhysicalPresenceLib.c
34 MmTcg2PhysicalPresenceLibCommon.c
35 MmTcg2PhysicalPresenceLibCommon.h
36
37 [Packages]
38 MdePkg/MdePkg.dec
39 MdeModulePkg/MdeModulePkg.dec
40 SecurityPkg/SecurityPkg.dec
41
42 [LibraryClasses]
43 DebugLib
44 Tcg2PpVendorLib
45 MmServicesTableLib
46 BaseMemoryLib
47
48 [Guids]
49 ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"
50 ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"
51 ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresenceFlags"
52 gEfiTcg2PhysicalPresenceGuid
53
54 [Protocols]
55 gEfiSmmVariableProtocolGuid ## CONSUMES
56
57 [Pcd]
58 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer ## CONSUMES
59 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2PhysicalPresenceFlags ## SOMETIMES_CONSUMES
60
61 [Depex]
62 gEfiSmmVariableProtocolGuid