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 - 2016, 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
33[Packages]
34  MdePkg/MdePkg.dec
35  MdeModulePkg/MdeModulePkg.dec
36  CryptoPkg/CryptoPkg.dec
37  SecurityPkg/SecurityPkg.dec
38
39[LibraryClasses]
40  MemoryAllocationLib
41  BaseLib
42  UefiBootServicesTableLib
43  HobLib
44  UefiDriverEntryPoint
45  UefiRuntimeServicesTableLib
46  BaseMemoryLib
47  DebugLib
48  Tpm12DeviceLib
49  BaseCryptLib
50  PrintLib
51  UefiLib
52  PcdLib
53  ReportStatusCodeLib
54  Tpm12CommandLib
55
56[Guids]
57  gEfiGlobalVariableGuid                             ## SOMETIMES_CONSUMES  ## Variable:L"BootXXXX"
58  gTcgEventEntryHobGuid                              ## SOMETIMES_CONSUMES  ## HOB
59  gTpmErrorHobGuid                                   ## SOMETIMES_CONSUMES  ## HOB
60  gEfiEventExitBootServicesGuid                      ## CONSUMES            ## Event
61  gEventExitBootServicesFailedGuid                   ## SOMETIMES_CONSUMES  ## Event
62  gEfiTpmDeviceInstanceTpm12Guid                     ## PRODUCES            ## GUID       # TPM device identifier
63
64[Protocols]
65  gEfiTcgProtocolGuid                                ## PRODUCES
66  gEfiAcpiTableProtocolGuid                          ## NOTIFY
67  gEfiMpServiceProtocolGuid                          ## SOMETIMES_CONSUMES
68
69[Pcd]
70  gEfiSecurityPkgTokenSpaceGuid.PcdTpmPlatformClass              ## SOMETIMES_CONSUMES
71  gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid               ## CONSUMES
72  gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress                ## SOMETIMES_CONSUMES
73  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId             ## SOMETIMES_CONSUMES
74  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId        ## SOMETIMES_CONSUMES
75  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision       ## SOMETIMES_CONSUMES
76  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId         ## SOMETIMES_CONSUMES
77  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision   ## SOMETIMES_CONSUMES
78  gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice   ## SOMETIMES_CONSUMES
79  gEfiSecurityPkgTokenSpaceGuid.PcdTcgLogAreaMinLen              ## CONSUMES
80
81[Depex]
82  TRUE
83
84[UserExtensions.TianoCore."ExtraFiles"]
85  TcgDxeExtra.uni
86