SecurityPkg: Add TPM PTP support in TPM2 device lib.
[mirror_edk2.git] / SecurityPkg / Library / Tpm2DeviceLibDTpm / Tpm2DeviceLibDTpm.inf
1 ## @file
2 # Provides TPM 2.0 TIS/PTP functions for DTPM
3 #
4 # This library implements TIS (TPM Interface Specification) and
5 # PTP (Platform TPM Profile) functions which is
6 # used for every TPM 2.0 command. Choosing this library means platform uses and
7 # only uses TPM 2.0 DTPM device.
8 #
9 # Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.<BR>
10 # This program and the accompanying materials
11 # are licensed and made available under the terms and conditions of the BSD License
12 # which accompanies this distribution. The full text of the license may be found at
13 # http://opensource.org/licenses/bsd-license.php
14 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #
17 ##
18
19 [Defines]
20 INF_VERSION = 0x00010005
21 BASE_NAME = Tpm2DeviceLibDTpm
22 MODULE_UNI_FILE = Tpm2DeviceLibDTpm.uni
23 FILE_GUID = E54A3327-A345-4068-8842-70AC0D519855
24 MODULE_TYPE = BASE
25 VERSION_STRING = 1.0
26 LIBRARY_CLASS = Tpm2DeviceLib
27
28 #
29 # The following information is for reference only and not required by the build tools.
30 #
31 # VALID_ARCHITECTURES = IA32 X64 IPF
32 #
33
34 [Sources]
35 Tpm2Tis.c
36 Tpm2Ptp.c
37 Tpm2DeviceLibDTpm.c
38
39 [Packages]
40 MdePkg/MdePkg.dec
41 SecurityPkg/SecurityPkg.dec
42
43 [LibraryClasses]
44 BaseLib
45 BaseMemoryLib
46 IoLib
47 TimerLib
48 DebugLib
49
50 [Pcd]
51 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## CONSUMES