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                      = DxeTrEEPhysicalPresenceLib
24  MODULE_UNI_FILE                = DxeTrEEPhysicalPresenceLib.uni
25  FILE_GUID                      = 601ECB06-7874-489e-A280-805780F6C861
26  MODULE_TYPE                    = DXE_DRIVER
27  VERSION_STRING                 = 1.0
28  LIBRARY_CLASS                  = TrEEPhysicalPresenceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER
29  CONSTRUCTOR                    = TrEEPhysicalPresenceLibConstructor
30
31#
32# The following information is for reference only and not required by the build tools.
33#
34#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
35#
36
37[Sources]
38  DxeTrEEPhysicalPresenceLib.c
39  PhysicalPresenceStrings.uni
40
41[Packages]
42  MdePkg/MdePkg.dec
43  MdeModulePkg/MdeModulePkg.dec
44  SecurityPkg/SecurityPkg.dec
45
46[LibraryClasses]
47  MemoryAllocationLib
48  UefiLib
49  UefiBootServicesTableLib
50  UefiDriverEntryPoint
51  UefiRuntimeServicesTableLib
52  BaseMemoryLib
53  DebugLib
54  PrintLib
55  HiiLib
56  Tpm2CommandLib
57  TrEEPpVendorLib
58
59[Protocols]
60  gEfiTrEEProtocolGuid                 ## CONSUMES
61  gEdkiiVariableLockProtocolGuid       ## CONSUMES
62
63[Guids]
64  ## CONSUMES           ## HII
65  ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"
66  ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"
67  ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresenceFlags"
68  ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresenceFlags"
69  gEfiTrEEPhysicalPresenceGuid
70