1## @file
2#  Executes TPM 2.0 requests from OS or BIOS
3#
4#  This library will check and execute TPM 2.0 request from OS or BIOS. The request may
5#  ask for user confirmation before execution.
6#
7#  Caution: This module requires additional review when modified.
8#  This driver will have external input - variable.
9#  This external input must be validated carefully to avoid security issue.
10#
11# Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
12# This program and the accompanying materials
13# are licensed and made available under the terms and conditions of the BSD License
14# which accompanies this distribution. The full text of the license may be found at
15# http://opensource.org/licenses/bsd-license.php
16# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18#
19##
20
21[Defines]
22  INF_VERSION                    = 0x00010005
23  BASE_NAME                      = DxeTcg2PhysicalPresenceLib
24  MODULE_UNI_FILE                = DxeTcg2PhysicalPresenceLib.uni
25  FILE_GUID                      = 7E507A86-DE8B-4AD3-BC4C-0498389098D3
26  MODULE_TYPE                    = DXE_DRIVER
27  VERSION_STRING                 = 1.0
28  LIBRARY_CLASS                  = Tcg2PhysicalPresenceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER
29
30#
31# The following information is for reference only and not required by the build tools.
32#
33#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
34#
35
36[Sources]
37  DxeTcg2PhysicalPresenceLib.c
38  PhysicalPresenceStrings.uni
39
40[Packages]
41  MdePkg/MdePkg.dec
42  MdeModulePkg/MdeModulePkg.dec
43  SecurityPkg/SecurityPkg.dec
44
45[LibraryClasses]
46  MemoryAllocationLib
47  UefiLib
48  UefiBootServicesTableLib
49  UefiDriverEntryPoint
50  UefiRuntimeServicesTableLib
51  BaseMemoryLib
52  DebugLib
53  PrintLib
54  HiiLib
55  HobLib
56  Tpm2CommandLib
57  Tcg2PpVendorLib
58
59[Protocols]
60  gEfiTcg2ProtocolGuid                 ## CONSUMES
61  gEdkiiVariableLockProtocolGuid       ## CONSUMES
62
63[Guids]
64  ## CONSUMES           ## HII
65  ## SOMETIMES_PRODUCES ## Variable:L"Tcg2PhysicalPresence"
66  ## SOMETIMES_CONSUMES ## Variable:L"Tcg2PhysicalPresence"
67  ## SOMETIMES_PRODUCES ## Variable:L"Tcg2PhysicalPresenceFlags"
68  ## SOMETIMES_CONSUMES ## Variable:L"Tcg2PhysicalPresenceFlags"
69  gEfiTcg2PhysicalPresenceGuid
70