]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
UefiCpuPkg/PiSmmCpu: Enable 5L paging only when phy addr line > 48
[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 - 2018, Intel Corporation. All rights reserved.<BR>
24 # SPDX-License-Identifier: BSD-2-Clause-Patent
25 #
26 ##
27
28 [Defines]
29 INF_VERSION = 0x00010005
30 BASE_NAME = Tcg2PhysicalPresenceLibQemu
31 FILE_GUID = 41D3E698-9EEC-41FF-9CBB-5FE79A0CF326
32 MODULE_TYPE = DXE_DRIVER
33 VERSION_STRING = 1.0
34 LIBRARY_CLASS = Tcg2PhysicalPresenceLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER
35
36 #
37 # The following information is for reference only and not required by the build tools.
38 #
39 # VALID_ARCHITECTURES = IA32 X64 EBC
40 #
41
42 [Sources]
43 DxeTcg2PhysicalPresenceLib.c
44 PhysicalPresenceStrings.uni
45
46 [Packages]
47 MdePkg/MdePkg.dec
48 MdeModulePkg/MdeModulePkg.dec
49 OvmfPkg/OvmfPkg.dec
50 SecurityPkg/SecurityPkg.dec
51
52 [LibraryClasses]
53 BaseMemoryLib
54 DebugLib
55 DxeServicesTableLib
56 HiiLib
57 HobLib
58 MemoryAllocationLib
59 PrintLib
60 QemuFwCfgLib
61 Tpm2CommandLib
62 UefiBootServicesTableLib
63 UefiLib
64 UefiRuntimeServicesTableLib
65
66 [Protocols]
67 gEfiTcg2ProtocolGuid ## SOMETIMES_CONSUMES
68
69 [Guids]
70 ## SOMETIMES_CONSUMES ## HII
71 gEfiTcg2PhysicalPresenceGuid