2 # Handle TPM 2.0 physical presence requests from OS.
4 # This library will handle TPM 2.0 physical presence request from OS.
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.
10 # Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.<BR>
11 # Copyright (c) Microsoft Corporation.
12 # SPDX-License-Identifier: BSD-2-Clause-Patent
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
23 LIBRARY_CLASS = Tcg2PhysicalPresenceLib|MM_STANDALONE
24 CONSTRUCTOR = Tcg2PhysicalPresenceLibStandaloneMmConstructor
27 # The following information is for reference only and not required by the build tools.
29 # VALID_ARCHITECTURES = IA32 X64 EBC
33 StandaloneMmTcg2PhysicalPresenceLib.c
34 MmTcg2PhysicalPresenceLibCommon.c
35 MmTcg2PhysicalPresenceLibCommon.h
39 MdeModulePkg/MdeModulePkg.dec
40 SecurityPkg/SecurityPkg.dec
49 ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"
50 ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"
51 ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresenceFlags"
52 gEfiTcg2PhysicalPresenceGuid
55 gEfiSmmVariableProtocolGuid ## CONSUMES
58 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer ## CONSUMES
59 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2PhysicalPresenceFlags ## SOMETIMES_CONSUMES
62 gEfiSmmVariableProtocolGuid