]>
Commit | Line | Data |
---|---|---|
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 | |
23 | # Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.<BR>\r | |
24 | # This program and the accompanying materials\r | |
25 | # are licensed and made available under the terms and conditions of the BSD License\r | |
26 | # which accompanies this distribution. The full text of the license may be found at\r | |
27 | # http://opensource.org/licenses/bsd-license.php\r | |
28 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
29 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
30 | #\r | |
31 | ##\r | |
32 | \r | |
33 | [Defines]\r | |
34 | INF_VERSION = 0x00010005\r | |
35 | BASE_NAME = Tcg2PhysicalPresenceLibQemu\r | |
36 | FILE_GUID = 41D3E698-9EEC-41FF-9CBB-5FE79A0CF326\r | |
37 | MODULE_TYPE = DXE_DRIVER\r | |
38 | VERSION_STRING = 1.0\r | |
39 | LIBRARY_CLASS = Tcg2PhysicalPresenceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER\r | |
40 | \r | |
41 | #\r | |
42 | # The following information is for reference only and not required by the build tools.\r | |
43 | #\r | |
44 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC\r | |
45 | #\r | |
46 | \r | |
47 | [Sources]\r | |
48 | DxeTcg2PhysicalPresenceLib.c\r | |
49 | PhysicalPresenceStrings.uni\r | |
50 | \r | |
51 | [Packages]\r | |
52 | MdePkg/MdePkg.dec\r | |
53 | MdeModulePkg/MdeModulePkg.dec\r | |
54 | OvmfPkg/OvmfPkg.dec\r | |
55 | SecurityPkg/SecurityPkg.dec\r | |
56 | \r | |
57 | [LibraryClasses]\r | |
58 | BaseMemoryLib\r | |
59 | DebugLib\r | |
60 | DxeServicesTableLib\r | |
61 | HiiLib\r | |
62 | HobLib\r | |
63 | MemoryAllocationLib\r | |
64 | PrintLib\r | |
65 | QemuFwCfgLib\r | |
66 | Tpm2CommandLib\r | |
67 | UefiBootServicesTableLib\r | |
68 | UefiLib\r | |
69 | UefiRuntimeServicesTableLib\r | |
70 | \r | |
71 | [Protocols]\r | |
72 | gEfiTcg2ProtocolGuid ## SOMETIMES_CONSUMES\r | |
73 | \r | |
74 | [Guids]\r | |
75 | ## SOMETIMES_CONSUMES ## HII\r | |
76 | gEfiTcg2PhysicalPresenceGuid\r |