2 # Produces Tcg2 protocol and measure boot environment
4 # Spec Compliance Info:
5 # "TCG PC Client Platform Firmware Profile Specification for TPM Family 2.0 Level 00 Revision 00.21"
7 # "Errata for PC Client Specific Platform Firmware Profile Specification Version 1.0 Revision 0.21"
8 # "TCG EFI Protocol Specification" "Family 2.0" "Level 00 Revision 00.13"
10 # This module will produce Tcg2 protocol and measure boot environment.
12 # Caution: This module requires additional review when modified.
13 # This driver will have external input - PE/COFF image.
14 # This external input must be validated carefully to avoid security issue like
15 # buffer overflow, integer overflow.
17 # Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
18 # This program and the accompanying materials
19 # are licensed and made available under the terms and conditions of the BSD License
20 # which accompanies this distribution. The full text of the license may be found at
21 # http://opensource.org/licenses/bsd-license.php
22 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
23 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
28 INF_VERSION = 0x00010005
30 MODULE_UNI_FILE = Tcg2Dxe.uni
31 FILE_GUID = FDFF263D-5F68-4591-87BA-B768F445A9AF
32 MODULE_TYPE = DXE_DRIVER
34 ENTRY_POINT = DriverEntry
37 # The following information is for reference only and not required by the build tools.
39 # VALID_ARCHITECTURES = IA32 X64 IPF
48 MdeModulePkg/MdeModulePkg.dec
49 SecurityPkg/SecurityPkg.dec
50 CryptoPkg/CryptoPkg.dec
55 UefiBootServicesTableLib
58 UefiRuntimeServicesTableLib
68 Tcg2PhysicalPresenceLib
72 ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"
73 ## SOMETIMES_CONSUMES ## Variable:L"PK"
74 ## SOMETIMES_CONSUMES ## Variable:L"KEK"
75 ## SOMETIMES_CONSUMES ## Variable:L"BootXXXX"
76 gEfiGlobalVariableGuid
78 ## SOMETIMES_CONSUMES ## Variable:L"db"
79 ## SOMETIMES_CONSUMES ## Variable:L"dbx"
80 gEfiImageSecurityDatabaseGuid
82 gTcgEventEntryHobGuid ## SOMETIMES_CONSUMES ## HOB
83 gTpmErrorHobGuid ## SOMETIMES_CONSUMES ## HOB
84 gEfiEventExitBootServicesGuid ## CONSUMES ## Event
85 gEventExitBootServicesFailedGuid ## SOMETIMES_CONSUMES ## Event
86 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier
87 gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier
89 gTcgEvent2EntryHobGuid ## SOMETIMES_CONSUMES ## HOB
90 gTpm2StartupLocalityHobGuid ## SOMETIMES_CONSUMES ## HOB
93 gEfiTcg2ProtocolGuid ## PRODUCES
94 gEfiTcg2FinalEventsTableGuid ## PRODUCES
95 gEfiAcpiTableProtocolGuid ## NOTIFY
96 gEfiMpServiceProtocolGuid ## SOMETIMES_CONSUMES
97 gEfiVariableWriteArchProtocolGuid ## NOTIFY
100 gEfiSecurityPkgTokenSpaceGuid.PcdTpmPlatformClass ## SOMETIMES_CONSUMES
101 gEfiSecurityPkgTokenSpaceGuid.PcdFirmwareDebuggerInitialized ## SOMETIMES_CONSUMES
102 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES
103 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## SOMETIMES_CONSUMES
104 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId ## SOMETIMES_CONSUMES
105 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId ## SOMETIMES_CONSUMES
106 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision ## SOMETIMES_CONSUMES
107 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId ## SOMETIMES_CONSUMES
108 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision ## SOMETIMES_CONSUMES
109 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES
110 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap ## CONSUMES
111 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2NumberOfPCRBanks ## CONSUMES
112 gEfiSecurityPkgTokenSpaceGuid.PcdTcgLogAreaMinLen ## CONSUMES
113 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2FinalLogAreaLen ## CONSUMES
118 [UserExtensions.TianoCore."ExtraFiles"]