1## @file
2#  Executes pending TPM 1.2 requests from OS or BIOS and Locks TPM
3#
4#  This library will check and execute TPM 1.2 request from OS or BIOS. The request may
5#  ask for user confirmation before execution. This Library will also lock TPM physical
6#  presence at last.
7#
8#  Caution: This module requires additional review when modified.
9#  This driver will have external input - variable.
10#  This external input must be validated carefully to avoid security issue.
11#
12# Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
13# This program and the accompanying materials
14# are licensed and made available under the terms and conditions of the BSD License
15# which accompanies this distribution. The full text of the license may be found at
16# http://opensource.org/licenses/bsd-license.php
17# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
18# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19#
20##
21
22[Defines]
23  INF_VERSION                    = 0x00010005
24  BASE_NAME                      = DxeTcgPhysicalPresenceLib
25  MODULE_UNI_FILE                = DxeTcgPhysicalPresenceLib.uni
26  FILE_GUID                      = EBC43A46-34AC-4F07-A7F5-A5394619361C
27  MODULE_TYPE                    = DXE_DRIVER
28  VERSION_STRING                 = 1.0
29  LIBRARY_CLASS                  = TcgPhysicalPresenceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER
30  CONSTRUCTOR                    = TcgPhysicalPresenceLibConstructor
31
32#
33# The following information is for reference only and not required by the build tools.
34#
35#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
36#
37
38[Sources]
39  DxeTcgPhysicalPresenceLib.c
40  PhysicalPresenceStrings.uni
41
42[Packages]
43  MdePkg/MdePkg.dec
44  MdeModulePkg/MdeModulePkg.dec
45  SecurityPkg/SecurityPkg.dec
46
47[LibraryClasses]
48  MemoryAllocationLib
49  UefiLib
50  UefiBootServicesTableLib
51  UefiDriverEntryPoint
52  UefiRuntimeServicesTableLib
53  BaseMemoryLib
54  DebugLib
55  PrintLib
56  HiiLib
57  TcgPpVendorLib
58
59[Protocols]
60  gEfiTcgProtocolGuid                   ## 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  gEfiPhysicalPresenceGuid
70