]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Tcg/TrEEPei/TrEEPei.inf
4d91dfe02ddc2fda62763354622558c1a31f6d0d
[mirror_edk2.git] / SecurityPkg / Tcg / TrEEPei / TrEEPei.inf
1 ## @file
2 # Initializes TPM 2.0 device and measure FVs in PEI phase
3 #
4 # This module will initialize TPM device, measure reported FVs and BIOS version.
5 #
6 # Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 ##
15
16 [Defines]
17 INF_VERSION = 0x00010005
18 BASE_NAME = TrEEPei
19 MODULE_UNI_FILE = TrEEPei.uni
20 FILE_GUID = CA5A1928-6523-409d-A9FE-5DCC87387222
21 MODULE_TYPE = PEIM
22 VERSION_STRING = 1.0
23 ENTRY_POINT = PeimEntryMA
24
25 #
26 # The following information is for reference only and not required by the build tools.
27 #
28 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
29 #
30 # [BootMode]
31 # S3_RESUME ## SOMETIMES_CONSUMES
32 #
33
34 [Sources]
35 TrEEPei.c
36
37 [Packages]
38 MdePkg/MdePkg.dec
39 MdeModulePkg/MdeModulePkg.dec
40 SecurityPkg/SecurityPkg.dec
41
42 [LibraryClasses]
43 HobLib
44 PeimEntryPoint
45 PeiServicesLib
46 BaseMemoryLib
47 DebugLib
48 Tpm2CommandLib
49 PeiServicesTablePointerLib
50 Tpm2DeviceLib
51 HashLib
52 PerformanceLib
53 MemoryAllocationLib
54 ReportStatusCodeLib
55
56 [Guids]
57 gTcgEventEntryHobGuid ## PRODUCES ## HOB
58 gTpmErrorHobGuid ## SOMETIMES_PRODUCES ## HOB
59 gMeasuredFvHobGuid ## PRODUCES ## HOB
60 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_PRODUCES ## GUID # TPM device identifier
61 gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_PRODUCES ## GUID # TPM device identifier
62
63 [Ppis]
64 gEfiPeiFirmwareVolumeInfoPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY
65 gEfiPeiFirmwareVolumeInfo2PpiGuid ## SOMETIMES_CONSUMES ## NOTIFY
66 gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid ## SOMETIMES_CONSUMES
67 gPeiTpmInitializedPpiGuid ## PRODUCES
68 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY
69
70 [Pcd]
71 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## SOMETIMES_CONSUMES
72 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES
73 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy ## CONSUMES
74 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy ## SOMETIMES_CONSUMES
75 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy ## CONSUMES
76 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
77 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES
78
79 [Depex]
80 gEfiPeiMasterBootModePpiGuid AND
81 gEfiPeiReadOnlyVariable2PpiGuid AND
82 gEfiTpmDeviceSelectedGuid
83
84 [UserExtensions.TianoCore."ExtraFiles"]
85 TrEEPeiExtra.uni