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