]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/TcgPei/TcgPei.inf
SecurityPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / SecurityPkg / Tcg / TcgPei / TcgPei.inf
index cf90eaec81d37654194e4facb0111aa8ac69f35a..c0bff6e85e9dcd06baffd35f6de2ee3bab7b3004 100644 (file)
@@ -1,19 +1,18 @@
 ## @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 - 2014, 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
-# http://opensource.org/licenses/bsd-license.php\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\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
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 ##\r
 \r
 [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
-  gEfiPeiFirmwareVolumeInfo2PpiGuid\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.PcdPhysicalPresenceLifetimeLock\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceCmdEnable\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdPhysicalPresenceHwEnable\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString             ## CONSUMES\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy\r
-  gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy\r
-\r
-[FixedPcd]\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported             ## CONSUMES\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
+  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