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