]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
SecurityPkg: Remove dead code and inf redundant definitions.
[mirror_edk2.git] / SecurityPkg / Tcg / Tcg2Dxe / Tcg2Dxe.inf
CommitLineData
1abfa4ce
JY
1## @file\r
2# Produces Tcg2 protocol and measure boot environment\r
6d92ae11
ZC
3#\r
4# Spec Compliance Info:\r
3cc9af5c 5# "TCG PC Client Platform Firmware Profile Specification for TPM Family 2.0 Level 00 Revision 1.03 v51"\r
6d92ae11 6# along with\r
3cc9af5c 7# "Errata for PC Client Specific Platform Firmware Profile Specification Version 1.0 Revision 1.03"\r
6d92ae11
ZC
8# "TCG EFI Protocol Specification" "Family 2.0" "Level 00 Revision 00.13"\r
9#\r
1abfa4ce
JY
10# This module will produce Tcg2 protocol and measure boot environment.\r
11#\r
12# Caution: This module requires additional review when modified.\r
13# This driver will have external input - PE/COFF image.\r
14# This external input must be validated carefully to avoid security issue like\r
15# buffer overflow, integer overflow.\r
16#\r
b3548d32 17# Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>\r
1abfa4ce
JY
18# This program and the accompanying materials\r
19# are licensed and made available under the terms and conditions of the BSD License\r
20# which accompanies this distribution. The full text of the license may be found at\r
21# http://opensource.org/licenses/bsd-license.php\r
22# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
23# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
24#\r
25##\r
26\r
27[Defines]\r
28 INF_VERSION = 0x00010005\r
29 BASE_NAME = Tcg2Dxe\r
30 MODULE_UNI_FILE = Tcg2Dxe.uni\r
31 FILE_GUID = FDFF263D-5F68-4591-87BA-B768F445A9AF\r
32 MODULE_TYPE = DXE_DRIVER\r
33 VERSION_STRING = 1.0\r
34 ENTRY_POINT = DriverEntry\r
35\r
36#\r
37# The following information is for reference only and not required by the build tools.\r
38#\r
4cecd19a 39# VALID_ARCHITECTURES = IA32 X64\r
1abfa4ce
JY
40#\r
41\r
42[Sources]\r
43 Tcg2Dxe.c\r
44 MeasureBootPeCoff.c\r
45\r
46[Packages]\r
47 MdePkg/MdePkg.dec\r
48 MdeModulePkg/MdeModulePkg.dec\r
49 SecurityPkg/SecurityPkg.dec\r
50 CryptoPkg/CryptoPkg.dec\r
51\r
52[LibraryClasses]\r
53 MemoryAllocationLib\r
54 BaseLib\r
55 UefiBootServicesTableLib\r
56 HobLib\r
57 UefiDriverEntryPoint\r
58 UefiRuntimeServicesTableLib\r
59 BaseMemoryLib\r
60 DebugLib\r
61 Tpm2CommandLib\r
62 PrintLib\r
63 UefiLib\r
64 Tpm2DeviceLib\r
65 HashLib\r
66 PerformanceLib\r
67 ReportStatusCodeLib\r
68 Tcg2PhysicalPresenceLib\r
5a8eae95 69 PeCoffLib\r
1abfa4ce
JY
70\r
71[Guids]\r
1abfa4ce
JY
72 ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"\r
73 ## SOMETIMES_CONSUMES ## Variable:L"PK"\r
74 ## SOMETIMES_CONSUMES ## Variable:L"KEK"\r
75 ## SOMETIMES_CONSUMES ## Variable:L"BootXXXX"\r
76 gEfiGlobalVariableGuid\r
77\r
78 ## SOMETIMES_CONSUMES ## Variable:L"db"\r
79 ## SOMETIMES_CONSUMES ## Variable:L"dbx"\r
80 gEfiImageSecurityDatabaseGuid\r
b3548d32 81\r
1abfa4ce
JY
82 gTcgEventEntryHobGuid ## SOMETIMES_CONSUMES ## HOB\r
83 gTpmErrorHobGuid ## SOMETIMES_CONSUMES ## HOB\r
84 gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r
85 gEventExitBootServicesFailedGuid ## SOMETIMES_CONSUMES ## Event\r
86 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier\r
87 gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier\r
88\r
89 gTcgEvent2EntryHobGuid ## SOMETIMES_CONSUMES ## HOB\r
18458db1 90 gTpm2StartupLocalityHobGuid ## SOMETIMES_CONSUMES ## HOB\r
1abfa4ce
JY
91\r
92[Protocols]\r
93 gEfiTcg2ProtocolGuid ## PRODUCES\r
94 gEfiTcg2FinalEventsTableGuid ## PRODUCES\r
1abfa4ce
JY
95 gEfiMpServiceProtocolGuid ## SOMETIMES_CONSUMES\r
96 gEfiVariableWriteArchProtocolGuid ## NOTIFY\r
9d5dfe9d 97 gEfiResetNotificationProtocolGuid ## CONSUMES\r
1abfa4ce
JY
98\r
99[Pcd]\r
100 gEfiSecurityPkgTokenSpaceGuid.PcdTpmPlatformClass ## SOMETIMES_CONSUMES\r
101 gEfiSecurityPkgTokenSpaceGuid.PcdFirmwareDebuggerInitialized ## SOMETIMES_CONSUMES\r
102 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES\r
1abfa4ce
JY
103 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES\r
104 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap ## CONSUMES\r
105 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2NumberOfPCRBanks ## CONSUMES\r
91e914f5
CZ
106 gEfiSecurityPkgTokenSpaceGuid.PcdTcgLogAreaMinLen ## CONSUMES\r
107 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2FinalLogAreaLen ## CONSUMES\r
1abfa4ce
JY
108\r
109[Depex]\r
110 TRUE\r
111\r
112[UserExtensions.TianoCore."ExtraFiles"]\r
113 Tcg2DxeExtra.uni\r