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  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  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId             ## SOMETIMES_CONSUMES
73  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId        ## SOMETIMES_CONSUMES
74  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision       ## SOMETIMES_CONSUMES
75  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId         ## SOMETIMES_CONSUMES
76  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision   ## SOMETIMES_CONSUMES
77  gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice   ## SOMETIMES_CONSUMES
78
79[Depex]
80  TRUE
81
82[UserExtensions.TianoCore."ExtraFiles"]
83  TcgDxeExtra.uni
84