]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
SecurityPkg: Add TCG Spec info to TCG related modules
[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 # This program and the accompanying materials
13 # are licensed and made available under the terms and conditions of the BSD License
14 # which accompanies this distribution. The full text of the license may be found at
15 # http://opensource.org/licenses/bsd-license.php
16 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 #
19 ##
20
21 [Defines]
22 INF_VERSION = 0x00010005
23 BASE_NAME = Tcg2Pei
24 MODULE_UNI_FILE = Tcg2Pei.uni
25 FILE_GUID = A0C98B77-CBA5-4BB8-993B-4AF6CE33ECE4
26 MODULE_TYPE = PEIM
27 VERSION_STRING = 1.0
28 ENTRY_POINT = PeimEntryMA
29
30 #
31 # The following information is for reference only and not required by the build tools.
32 #
33 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
34 #
35 # [BootMode]
36 # S3_RESUME ## SOMETIMES_CONSUMES
37 #
38
39 [Sources]
40 Tcg2Pei.c
41
42 [Packages]
43 MdePkg/MdePkg.dec
44 MdeModulePkg/MdeModulePkg.dec
45 SecurityPkg/SecurityPkg.dec
46
47 [LibraryClasses]
48 HobLib
49 PeimEntryPoint
50 PeiServicesLib
51 BaseMemoryLib
52 DebugLib
53 Tpm2CommandLib
54 PeiServicesTablePointerLib
55 Tpm2DeviceLib
56 HashLib
57 PerformanceLib
58 MemoryAllocationLib
59 ReportStatusCodeLib
60 Tcg2PhysicalPresenceLib
61 ResetSystemLib
62
63 [Guids]
64 gTcgEventEntryHobGuid ## PRODUCES ## HOB
65 gTpmErrorHobGuid ## SOMETIMES_PRODUCES ## HOB
66 gMeasuredFvHobGuid ## PRODUCES ## HOB
67 gTcgEvent2EntryHobGuid ## PRODUCES ## HOB
68 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_PRODUCES ## GUID # TPM device identifier
69 gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_PRODUCES ## GUID # TPM device identifier
70
71 [Ppis]
72 gEfiPeiFirmwareVolumeInfoPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY
73 gEfiPeiFirmwareVolumeInfo2PpiGuid ## SOMETIMES_CONSUMES ## NOTIFY
74 gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid ## SOMETIMES_CONSUMES
75 gPeiTpmInitializedPpiGuid ## SOMETIMES_PRODUCES
76 gPeiTpmInitializationDonePpiGuid ## PRODUCES
77 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_CONSUMES ## NOTIFY
78
79 [Pcd]
80 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## SOMETIMES_CONSUMES
81 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES
82 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy ## CONSUMES
83 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy ## SOMETIMES_CONSUMES
84 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy ## CONSUMES
85 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported ## CONSUMES
86 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES
87 ## SOMETIMES_CONSUMES
88 ## SOMETIMES_PRODUCES
89 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask
90
91 [Depex]
92 gEfiPeiMasterBootModePpiGuid AND
93 gEfiPeiReadOnlyVariable2PpiGuid AND
94 gEfiTpmDeviceSelectedGuid
95
96 [UserExtensions.TianoCore."ExtraFiles"]
97 Tcg2PeiExtra.uni