1## @file
2#  Handle TPM 2.0 physical presence requests from OS.
3#
4#  This library will handle TPM 2.0 physical presence request from OS.
5#
6#  Caution: This module requires additional review when modified.
7#  This driver will have external input - variable.
8#  This external input must be validated carefully to avoid security issue.
9#
10# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
11# This program and the accompanying materials
12# are licensed and made available under the terms and conditions of the BSD License
13# which accompanies this distribution. The full text of the license may be found at
14# http://opensource.org/licenses/bsd-license.php
15# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17#
18##
19
20[Defines]
21  INF_VERSION                    = 0x00010005
22  BASE_NAME                      = SmmTcg2PhysicalPresenceLib
23  MODULE_UNI_FILE                = SmmTcg2PhysicalPresenceLib.uni
24  FILE_GUID                      = AAE02741-858B-4964-9887-CA870489D944
25  MODULE_TYPE                    = DXE_SMM_DRIVER
26  VERSION_STRING                 = 1.0
27  LIBRARY_CLASS                  = Tcg2PhysicalPresenceLib|DXE_SMM_DRIVER
28  CONSTRUCTOR                    = Tcg2PhysicalPresenceLibConstructor
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  SmmTcg2PhysicalPresenceLib.c
38
39[Packages]
40  MdePkg/MdePkg.dec
41  MdeModulePkg/MdeModulePkg.dec
42  SecurityPkg/SecurityPkg.dec
43
44[LibraryClasses]
45  DebugLib
46  Tcg2PpVendorLib
47  SmmServicesTableLib
48
49[Guids]
50  ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"
51  ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"
52  ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresenceFlags"
53  gEfiTcg2PhysicalPresenceGuid
54
55[Depex]
56  gEfiSmmVariableProtocolGuid