]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / OvmfPkg / Library / Tcg2PhysicalPresenceLibQemu / DxeTcg2PhysicalPresenceLib.inf
CommitLineData
b9777bb4
MAL
1## @file\r
2# Executes TPM 2.0 requests from OS or BIOS\r
3#\r
4# This library will check and execute TPM 2.0 request from OS or\r
5# BIOS. The request may ask for user confirmation before\r
6# execution. It is a clone of\r
7# "SecurityPkg/Library/DxeTcg2PhysicalPresenceLib" with:\r
8#\r
9# - removed all the functions that are unreachable from\r
10# Tcg2PhysicalPresenceLibProcessRequest() [called from platform\r
11# BDS], or SubmitRequestToPreOSFunction() and\r
12# ReturnOperationResponseToOsFunction() [called from Tcg2Dxe].\r
13#\r
14# - replaced everything that's related to the\r
15# TCG2_PHYSICAL_PRESENCE*_VARIABLE variables, with direct access to\r
16# the QEMU structures.\r
17#\r
18# Caution: This module requires additional review when modified.\r
19# This driver will have external input - variable.\r
20# This external input must be validated carefully to avoid security issue.\r
21#\r
22# Copyright (C) 2018, Red Hat, Inc.\r
dbf9cc87 23# Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>\r
b26f0cf9 24# SPDX-License-Identifier: BSD-2-Clause-Patent\r
b9777bb4
MAL
25#\r
26##\r
27\r
28[Defines]\r
29 INF_VERSION = 0x00010005\r
30 BASE_NAME = Tcg2PhysicalPresenceLibQemu\r
31 FILE_GUID = 41D3E698-9EEC-41FF-9CBB-5FE79A0CF326\r
32 MODULE_TYPE = DXE_DRIVER\r
33 VERSION_STRING = 1.0\r
dbf9cc87 34 LIBRARY_CLASS = Tcg2PhysicalPresenceLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
b9777bb4
MAL
35\r
36#\r
37# The following information is for reference only and not required by the build tools.\r
38#\r
dbf9cc87 39# VALID_ARCHITECTURES = IA32 X64 EBC\r
b9777bb4
MAL
40#\r
41\r
42[Sources]\r
43 DxeTcg2PhysicalPresenceLib.c\r
44 PhysicalPresenceStrings.uni\r
45\r
46[Packages]\r
47 MdePkg/MdePkg.dec\r
48 MdeModulePkg/MdeModulePkg.dec\r
49 OvmfPkg/OvmfPkg.dec\r
50 SecurityPkg/SecurityPkg.dec\r
51\r
52[LibraryClasses]\r
53 BaseMemoryLib\r
54 DebugLib\r
55 DxeServicesTableLib\r
56 HiiLib\r
57 HobLib\r
58 MemoryAllocationLib\r
59 PrintLib\r
60 QemuFwCfgLib\r
61 Tpm2CommandLib\r
499c4608 62 UefiBootManagerLib\r
b9777bb4
MAL
63 UefiBootServicesTableLib\r
64 UefiLib\r
65 UefiRuntimeServicesTableLib\r
66\r
67[Protocols]\r
68 gEfiTcg2ProtocolGuid ## SOMETIMES_CONSUMES\r
69\r
70[Guids]\r
71 ## SOMETIMES_CONSUMES ## HII\r
72 gEfiTcg2PhysicalPresenceGuid\r