]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf
Handle TPM device error and avoid deadloop in BDS.
[mirror_edk2.git] / SecurityPkg / Tcg / TrEEDxe / TrEEDxe.inf
CommitLineData
c1d93242 1## @file\r
60c944c7 2# Produces TrEE protocol and measure boot environment\r
c1d93242
JY
3# This module will produce TrEE 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
6f785cfc 10# Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>\r
c1d93242
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 = TrEEDxe\r
60c944c7 23 MODULE_UNI_FILE = TrEEDxe.uni\r
c1d93242
JY
24 FILE_GUID = 2A7946E3-1AB2-49a9-ACCB-C6275139C1A5\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 TrEEDxe.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
6f785cfc 60 ReportStatusCodeLib\r
c1d93242
JY
61\r
62[Guids]\r
60c944c7
DG
63 ## SOMETIMES_CONSUMES ## SystemTable # Smbios Table\r
64 ## SOMETIMES_CONSUMES ## GUID # Handoff Table for measurement.\r
65 gEfiSmbiosTableGuid\r
66 \r
67 ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"\r
68 ## SOMETIMES_CONSUMES ## Variable:L"PK"\r
69 ## SOMETIMES_CONSUMES ## Variable:L"KEK"\r
70 ## SOMETIMES_CONSUMES ## Variable:L"BootXXXX"\r
71 gEfiGlobalVariableGuid\r
72\r
73 ## SOMETIMES_CONSUMES ## Variable:L"db"\r
74 ## SOMETIMES_CONSUMES ## Variable:L"dbx"\r
c1d93242 75 gEfiImageSecurityDatabaseGuid\r
60c944c7
DG
76 \r
77 gTcgEventEntryHobGuid ## SOMETIMES_CONSUMES ## HOB\r
6f785cfc 78 gTpmErrorHobGuid ## SOMETIMES_CONSUMES ## HOB\r
60c944c7
DG
79 gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r
80 gEventExitBootServicesFailedGuid ## SOMETIMES_CONSUMES ## Event\r
81 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier\r
82 gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier\r
c1d93242
JY
83\r
84[Protocols]\r
60c944c7
DG
85 gEfiTrEEProtocolGuid ## PRODUCES\r
86 gEfiAcpiTableProtocolGuid ## NOTIFY\r
87 gEfiMpServiceProtocolGuid ## SOMETIMES_CONSUMES\r
88 gEfiVariableWriteArchProtocolGuid ## NOTIFY\r
c1d93242
JY
89\r
90[Pcd]\r
60c944c7
DG
91 gEfiSecurityPkgTokenSpaceGuid.PcdTpmPlatformClass ## SOMETIMES_CONSUMES\r
92 gEfiSecurityPkgTokenSpaceGuid.PcdFirmwareDebuggerInitialized ## SOMETIMES_CONSUMES\r
93 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES\r
94 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## SOMETIMES_CONSUMES\r
95 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId ## SOMETIMES_CONSUMES\r
96 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId ## SOMETIMES_CONSUMES\r
97 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision ## SOMETIMES_CONSUMES\r
98 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId ## SOMETIMES_CONSUMES\r
99 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision ## SOMETIMES_CONSUMES\r
6f785cfc 100 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES\r
c1d93242
JY
101\r
102[Depex]\r
103 TRUE\r
104\r
60c944c7
DG
105[UserExtensions.TianoCore."ExtraFiles"]\r
106 TrEEDxeExtra.uni\r