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