]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Library / SmmCorePerformanceLib / SmmCorePerformanceLib.inf
index c87e159ba41266ffd1b0d283710e6a797ea6a1a5..9eecc4b58c484f78ba19a32b227e4aa28c3b2544 100644 (file)
@@ -1,22 +1,16 @@
 ## @file\r
 #  Performance library instance used by SMM Core.\r
-#  \r
+#\r
 #  This library provides the performance measurement interfaces and initializes performance\r
 #  logging for the SMM phase.\r
 #  It initializes SMM phase performance logging by publishing the SMM Performance and PerformanceEx Protocol,\r
 #  which is consumed by SmmPerformanceLib to logging performance data in SMM phase.\r
 #  This library is mainly used by SMM Core to start performance logging to ensure that\r
 #  SMM Performance and PerformanceEx Protocol are installed at the very beginning of SMM phase.\r
-#  \r
-#  Copyright (c) 2011 - 2015, 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
-#  \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
-#  \r
+#\r
+#  Copyright (c) 2011 - 2021, Intel Corporation. All rights reserved.<BR>\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
 ##\r
 \r
 [Defines]\r
   SynchronizationLib\r
   SmmServicesTableLib\r
   SmmMemLib\r
+  UefiLib\r
+  ReportStatusCodeLib\r
+  PeCoffGetEntryPointLib\r
+  DxeServicesLib\r
 \r
 [Protocols]\r
   gEfiSmmBase2ProtocolGuid                  ## CONSUMES\r
-  gEfiSmmAccess2ProtocolGuid                ## CONSUMES\r
 \r
 [Guids]\r
-  ## PRODUCES ## UNDEFINED # Install protocol\r
-  ## CONSUMES ## UNDEFINED # SmiHandlerRegister\r
-  gSmmPerformanceProtocolGuid\r
-  ## PRODUCES ## UNDEFINED # Install protocol\r
-  ## CONSUMES ## UNDEFINED # SmiHandlerRegister\r
-  gSmmPerformanceExProtocolGuid\r
+  ## PRODUCES ## SystemTable\r
+  gPerformanceProtocolGuid\r
+  gZeroGuid                                 ## SOMETIMES_CONSUMES ## GUID\r
+  gEdkiiSmmPerformanceMeasurementProtocolGuid             ## PRODUCES ## UNDEFINED # Install protocol\r
+  gEfiFirmwarePerformanceGuid               ## SOMETIMES_PRODUCES ## UNDEFINED # SmiHandlerRegister\r
 \r
 [Pcd]\r
-  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask    ## CONSUMES\r
+  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask        ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES\r