2 # Executes TPM 2.0 requests from OS or BIOS
4 # This library will check and execute TPM 2.0 request from OS or
5 # BIOS. The request may ask for user confirmation before
6 # execution. It is a clone of
7 # "SecurityPkg/Library/DxeTcg2PhysicalPresenceLib" with:
9 # - removed all the functions that are unreachable from
10 # Tcg2PhysicalPresenceLibProcessRequest() [called from platform
11 # BDS], or SubmitRequestToPreOSFunction() and
12 # ReturnOperationResponseToOsFunction() [called from Tcg2Dxe].
14 # - replaced everything that's related to the
15 # TCG2_PHYSICAL_PRESENCE*_VARIABLE variables, with direct access to
16 # the QEMU structures.
18 # Caution: This module requires additional review when modified.
19 # This driver will have external input - variable.
20 # This external input must be validated carefully to avoid security issue.
22 # Copyright (C) 2018, Red Hat, Inc.
23 # Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
24 # This program and the accompanying materials
25 # are licensed and made available under the terms and conditions of the BSD License
26 # which accompanies this distribution. The full text of the license may be found at
27 # http://opensource.org/licenses/bsd-license.php
28 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
29 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
34 INF_VERSION = 0x00010005
35 BASE_NAME = Tcg2PhysicalPresenceLibQemu
36 FILE_GUID = 41D3E698-9EEC-41FF-9CBB-5FE79A0CF326
37 MODULE_TYPE = DXE_DRIVER
39 LIBRARY_CLASS = Tcg2PhysicalPresenceLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER
42 # The following information is for reference only and not required by the build tools.
44 # VALID_ARCHITECTURES = IA32 X64 EBC
48 DxeTcg2PhysicalPresenceLib.c
49 PhysicalPresenceStrings.uni
53 MdeModulePkg/MdeModulePkg.dec
55 SecurityPkg/SecurityPkg.dec
67 UefiBootServicesTableLib
69 UefiRuntimeServicesTableLib
72 gEfiTcg2ProtocolGuid ## SOMETIMES_CONSUMES
75 ## SOMETIMES_CONSUMES ## HII
76 gEfiTcg2PhysicalPresenceGuid