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