]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/TcgPei/TcgPei.inf
SecurityPkg/Tcg: Add use case for new Perf macro
[mirror_edk2.git] / SecurityPkg / Tcg / TcgPei / TcgPei.inf
index d02296247802092581ca86c02b45442921123975..4c8a055c6ca54e1cbc378aacb4073e68c565980b 100644 (file)
@@ -1,7 +1,10 @@
 ## @file\r
-#  This module will initialize TPM device and measure FVs in PEI phase.\r
+#  Initializes TPM device and measures FVs in PEI phase\r
 #\r
-# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+#  This module will initialize TPM device, measure reported FVs and BIOS version.\r
+#  This module may also lock TPM physical presence and physicalPresenceLifetimeLock.\r
+#\r
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution. The full text of the license may be found at\r
@@ -14,6 +17,7 @@
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = TcgPei\r
+  MODULE_UNI_FILE                = TcgPei.uni\r
   FILE_GUID                      = 2BE1E4A6-6505-43b3-9FFC-A3C8330E0432\r
   MODULE_TYPE                    = PEIM\r
   VERSION_STRING                 = 1.0\r
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#  VALID_ARCHITECTURES           = IA32 X64 EBC\r
+#\r
+# [BootMode]\r
+#   S3_RESUME                 ## SOMETIMES_CONSUMES\r
 #\r
 \r
 [Sources]\r
   TcgPei.c\r
-  TisPei.c\r
-  TpmComm.c\r
-  TpmComm.h\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
   MdeModulePkg/MdeModulePkg.dec\r
+  CryptoPkg/CryptoPkg.dec\r
   SecurityPkg/SecurityPkg.dec\r
 \r
 [LibraryClasses]\r
   PeiServicesLib\r
   BaseMemoryLib\r
   DebugLib\r
-  TpmCommLib\r
+  BaseCryptLib\r
+  Tpm12DeviceLib\r
   TimerLib\r
-  IoLib\r
   PeiServicesTablePointerLib\r
   BaseLib\r
   PcdLib\r
+  MemoryAllocationLib\r
+  ReportStatusCodeLib\r
+  Tpm12CommandLib\r
+  PerformanceLib\r
 \r
 [Guids]\r
-  gTcgEventEntryHobGuid\r
-  gMeasuredFvHobGuid\r
-  gEfiTpmDeviceInstanceTpm12Guid\r
+  gTcgEventEntryHobGuid                                               ## PRODUCES               ## HOB\r
+  gTpmErrorHobGuid                                                    ## SOMETIMES_PRODUCES     ## HOB\r
+  gMeasuredFvHobGuid                                                  ## PRODUCES               ## HOB\r
+  gEfiTpmDeviceInstanceTpm12Guid                                      ## PRODUCES               ## GUID       # TPM device identifier\r
 \r
 [Ppis]\r
-  gPeiLockPhysicalPresencePpiGuid\r
-  gEfiPeiFirmwareVolumeInfoPpiGuid\r
-  gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid\r
-  gPeiTpmInitializedPpiGuid\r
-  gEfiEndOfPeiSignalPpiGuid\r
+  gPeiLockPhysicalPresencePpiGuid                                     ## SOMETIMES_CONSUMES     ## NOTIFY\r
+  gEfiPeiFirmwareVolumeInfoPpiGuid                                    ## SOMETIMES_CONSUMES     ## NOTIFY\r
+  gEfiPeiFirmwareVolumeInfo2PpiGuid                                   ## SOMETIMES_CONSUMES     ## NOTIFY\r
+  gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid                 ## SOMETIMES_CONSUMES\r
+  gPeiTpmInitializedPpiGuid                                           ## SOMETIMES_PRODUCES\r
+  gPeiTpmInitializationDonePpiGuid                                    ## PRODUCES\r
+  gEfiEndOfPeiSignalPpiGuid                                           ## SOMETIMES_CONSUMES     ## NOTIFY\r
 \r
 [Pcd]\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdHideTpm\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceLifetimeLock\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceCmdEnable\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceHwEnable\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString             ## CONSUMES\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy\r
-\r
-[FixedPcd]\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdHideTpmSupport\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceLifetimeLock       ## SOMETIMES_CONSUMES\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceCmdEnable          ## SOMETIMES_CONSUMES\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceHwEnable           ## SOMETIMES_CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString             ## SOMETIMES_CONSUMES\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid                    ## CONSUMES\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy            ## CONSUMES\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy                     ## SOMETIMES_CONSUMES\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported             ## CONSUMES\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice        ## SOMETIMES_CONSUMES\r
 \r
 [Depex]\r
   gEfiPeiMasterBootModePpiGuid AND\r
-  gEfiPeiReadOnlyVariable2PpiGuid AND\r
   gEfiTpmDeviceSelectedGuid\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+  TcgPeiExtra.uni\r
+\r