## @file\r
-# Ihis library is TPM2 DTPM instance.\r
-# It can be registered to Tpm2 Device router, to be active TPM2 engine,\r
-# based on platform setting.\r
+# Provides a DTPM instance for TPM 2.0 TIS/PTP.\r
#\r
-# Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# This library can be registered to Tpm 2.0 device router, to be active TPM 2.0\r
+# engine, based on platform setting. It supports both TIS (TPM Interface Specification)\r
+# and PTP (Platform TPM Profile) functions.\r
+#\r
+# Copyright (c) 2013 - 2018, 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 = Tpm2InstanceLibDTpm\r
+ MODULE_UNI_FILE = Tpm2InstanceLibDTpm.uni\r
FILE_GUID = 286BF25A-C2C3-408c-B3B4-25E6758B7317\r
MODULE_TYPE = BASE\r
VERSION_STRING = 1.0\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF\r
+# VALID_ARCHITECTURES = IA32 X64\r
#\r
\r
[Sources]\r
Tpm2Tis.c\r
+ Tpm2Ptp.c\r
Tpm2InstanceLibDTpm.c\r
+ Tpm2DeviceLibDTpmBase.c\r
+ Tpm2DeviceLibDTpm.h\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
IoLib\r
TimerLib\r
DebugLib\r
+ PcdLib\r
\r
[Pcd]\r
- gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress\r
+ gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## CONSUMES\r
+ gEfiSecurityPkgTokenSpaceGuid.PcdActiveTpmInterfaceType ## PRODUCES\r
+ gEfiSecurityPkgTokenSpaceGuid.PcdCRBIdleByPass ## PRODUCES\r