--- /dev/null
+## @file\r
+# Handle TPM 2.0 physical presence requests from OS.\r
+#\r
+# This library will handle TPM 2.0 physical presence request from OS.\r
+#\r
+# Caution: This module requires additional review when modified.\r
+# This driver will have external input - variable.\r
+# This external input must be validated carefully to avoid security issue.\r
+#\r
+# Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) Microsoft Corporation.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
+##\r
+\r
+[Defines]\r
+ INF_VERSION = 0x00010005\r
+ BASE_NAME = StandaloneMmTcg2PhysicalPresenceLib\r
+ FILE_GUID = 75E3D07B-689C-4F42-A8A0-46AFAE868A6F\r
+ MODULE_TYPE = MM_STANDALONE\r
+ PI_SPECIFICATION_VERSION = 0x00010032\r
+ VERSION_STRING = 1.0\r
+ LIBRARY_CLASS = Tcg2PhysicalPresenceLib|MM_STANDALONE\r
+ CONSTRUCTOR = Tcg2PhysicalPresenceLibStandaloneMmConstructor\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+# VALID_ARCHITECTURES = IA32 X64 EBC\r
+#\r
+\r
+[Sources]\r
+ StandaloneMmTcg2PhysicalPresenceLib.c\r
+ MmTcg2PhysicalPresenceLibCommon.c\r
+ MmTcg2PhysicalPresenceLibCommon.h\r
+\r
+[Packages]\r
+ MdePkg/MdePkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
+ SecurityPkg/SecurityPkg.dec\r
+\r
+[LibraryClasses]\r
+ DebugLib\r
+ Tcg2PpVendorLib\r
+ MmServicesTableLib\r
+ BaseMemoryLib\r
+\r
+[Guids]\r
+ ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"\r
+ ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"\r
+ ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresenceFlags"\r
+ gEfiTcg2PhysicalPresenceGuid\r
+\r
+[Protocols]\r
+ gEfiSmmVariableProtocolGuid ## CONSUMES\r
+\r
+[Pcd]\r
+ gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer ## CONSUMES\r
+ gEfiSecurityPkgTokenSpaceGuid.PcdTcg2PhysicalPresenceFlags ## SOMETIMES_CONSUMES\r
+\r
+[Depex]\r
+ gEfiSmmVariableProtocolGuid\r