Handle TPM device error and avoid deadloop in BDS.
[mirror_edk2.git] / SecurityPkg / Tcg / TcgDxe / TcgDxe.inf
1 ## @file
2 # Produces TCG protocol and measures boot environment
3 # This module will produce TCG protocol and measure boot environment.
4 #
5 # Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 #
13 ##
14
15 [Defines]
16 INF_VERSION = 0x00010005
17 BASE_NAME = TcgDxe
18 MODULE_UNI_FILE = TcgDxe.uni
19 FILE_GUID = A5683620-7998-4bb2-A377-1C1E31E1E215
20 MODULE_TYPE = DXE_DRIVER
21 VERSION_STRING = 1.0
22 ENTRY_POINT = DriverEntry
23
24 #
25 # The following information is for reference only and not required by the build tools.
26 #
27 # VALID_ARCHITECTURES = IA32 X64 IPF
28 #
29
30 [Sources]
31 TcgDxe.c
32 TisDxe.c
33 TpmComm.c
34 TpmComm.h
35
36 [Packages]
37 MdePkg/MdePkg.dec
38 MdeModulePkg/MdeModulePkg.dec
39 SecurityPkg/SecurityPkg.dec
40
41 [LibraryClasses]
42 MemoryAllocationLib
43 BaseLib
44 UefiBootServicesTableLib
45 HobLib
46 UefiDriverEntryPoint
47 UefiRuntimeServicesTableLib
48 BaseMemoryLib
49 DebugLib
50 TpmCommLib
51 PrintLib
52 UefiLib
53 PcdLib
54 ReportStatusCodeLib
55
56 [Guids]
57 ## SOMETIMES_CONSUMES ## SystemTable # Smbios Table
58 ## SOMETIMES_CONSUMES ## GUID # Handoff Table for measurement.
59 gEfiSmbiosTableGuid
60
61 gEfiGlobalVariableGuid ## SOMETIMES_CONSUMES ## Variable:L"BootXXXX"
62 gTcgEventEntryHobGuid ## SOMETIMES_CONSUMES ## HOB
63 gTpmErrorHobGuid ## SOMETIMES_CONSUMES ## HOB
64 gEfiEventExitBootServicesGuid ## CONSUMES ## Event
65 gEventExitBootServicesFailedGuid ## SOMETIMES_CONSUMES ## Event
66 gEfiTpmDeviceInstanceTpm12Guid ## PRODUCES ## GUID # TPM device identifier
67
68 [Protocols]
69 gEfiTcgProtocolGuid ## PRODUCES
70 gEfiAcpiTableProtocolGuid ## NOTIFY
71 gEfiMpServiceProtocolGuid ## SOMETIMES_CONSUMES
72
73 [Pcd]
74 gEfiSecurityPkgTokenSpaceGuid.PcdTpmPlatformClass ## SOMETIMES_CONSUMES
75 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES
76 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId ## SOMETIMES_CONSUMES
77 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId ## SOMETIMES_CONSUMES
78 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision ## SOMETIMES_CONSUMES
79 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId ## SOMETIMES_CONSUMES
80 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision ## SOMETIMES_CONSUMES
81 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES
82
83 [Depex]
84 TRUE
85
86 [UserExtensions.TianoCore."ExtraFiles"]
87 TcgDxeExtra.uni
88