SecurityPkg: Add TCG Spec info to TCG related modules
[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
5# "TCG PC Client Platform Firmware Profile Specification for TPM Family 2.0 Level 00 Revision 00.21"\r
6# along with\r
7# "Errata for PC Client Specific Platform Firmware Profile Specification Version 1.0 Revision 0.21"\r
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
18458db1 17# Copyright (c) 2015 - 2017, 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
39# VALID_ARCHITECTURES = IA32 X64 IPF\r
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
81 \r
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
95 gEfiAcpiTableProtocolGuid ## NOTIFY\r
96 gEfiMpServiceProtocolGuid ## SOMETIMES_CONSUMES\r
97 gEfiVariableWriteArchProtocolGuid ## NOTIFY\r
98\r
99[Pcd]\r
100 gEfiSecurityPkgTokenSpaceGuid.PcdTpmPlatformClass ## SOMETIMES_CONSUMES\r
101 gEfiSecurityPkgTokenSpaceGuid.PcdFirmwareDebuggerInitialized ## SOMETIMES_CONSUMES\r
102 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES\r
103 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## SOMETIMES_CONSUMES\r
104 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId ## SOMETIMES_CONSUMES\r
105 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId ## SOMETIMES_CONSUMES\r
106 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision ## SOMETIMES_CONSUMES\r
107 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId ## SOMETIMES_CONSUMES\r
108 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision ## SOMETIMES_CONSUMES\r
109 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES\r
110 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap ## CONSUMES\r
111 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2NumberOfPCRBanks ## CONSUMES\r
91e914f5
CZ
112 gEfiSecurityPkgTokenSpaceGuid.PcdTcgLogAreaMinLen ## CONSUMES\r
113 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2FinalLogAreaLen ## CONSUMES\r
1abfa4ce
JY
114\r
115[Depex]\r
116 TRUE\r
117\r
118[UserExtensions.TianoCore."ExtraFiles"]\r
119 Tcg2DxeExtra.uni\r