]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
c9c0106afdefcb1924debbce029e384ae02b228d
[mirror_edk2.git] / OvmfPkg / Library / Tcg2PhysicalPresenceLibQemu / DxeTcg2PhysicalPresenceLib.inf
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
5 # BIOS. The request may ask for user confirmation before
6 # execution. It is a clone of
7 # "SecurityPkg/Library/DxeTcg2PhysicalPresenceLib" with:
8 #
9 # - removed all the functions that are unreachable from
10 # Tcg2PhysicalPresenceLibProcessRequest() [called from platform
11 # BDS], or SubmitRequestToPreOSFunction() and
12 # ReturnOperationResponseToOsFunction() [called from Tcg2Dxe].
13 #
14 # - replaced everything that's related to the
15 # TCG2_PHYSICAL_PRESENCE*_VARIABLE variables, with direct access to
16 # the QEMU structures.
17 #
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.
21 #
22 # Copyright (C) 2018, Red Hat, Inc.
23 # Copyright (c) 2013 - 2016, 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.
30 #
31 ##
32
33 [Defines]
34 INF_VERSION = 0x00010005
35 BASE_NAME = Tcg2PhysicalPresenceLibQemu
36 FILE_GUID = 41D3E698-9EEC-41FF-9CBB-5FE79A0CF326
37 MODULE_TYPE = DXE_DRIVER
38 VERSION_STRING = 1.0
39 LIBRARY_CLASS = Tcg2PhysicalPresenceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER
40
41 #
42 # The following information is for reference only and not required by the build tools.
43 #
44 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
45 #
46
47 [Sources]
48 DxeTcg2PhysicalPresenceLib.c
49 PhysicalPresenceStrings.uni
50
51 [Packages]
52 MdePkg/MdePkg.dec
53 MdeModulePkg/MdeModulePkg.dec
54 OvmfPkg/OvmfPkg.dec
55 SecurityPkg/SecurityPkg.dec
56
57 [LibraryClasses]
58 BaseMemoryLib
59 DebugLib
60 DxeServicesTableLib
61 HiiLib
62 HobLib
63 MemoryAllocationLib
64 PrintLib
65 QemuFwCfgLib
66 Tpm2CommandLib
67 UefiBootServicesTableLib
68 UefiLib
69 UefiRuntimeServicesTableLib
70
71 [Protocols]
72 gEfiTcg2ProtocolGuid ## SOMETIMES_CONSUMES
73
74 [Guids]
75 ## SOMETIMES_CONSUMES ## HII
76 gEfiTcg2PhysicalPresenceGuid