]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Library / DxePerformanceLib / DxePerformanceLib.inf
index 57d125b51b637515a10af158cce1ccb78bac3ef0..cd8e828845a6e07b7baf3d2c29115104afc3e34e 100644 (file)
@@ -1,37 +1,32 @@
-#/** @file\r
-# Component description file for Dxe Performance Library\r
+## @file\r
+#  Performance library instance used in DXE phase.\r
 #\r
-# This library provides intrastructure for Dxe driver to log performance.\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
+#  This library instance provides infrastructure for DXE phase drivers to log performance\r
+#  data. It consumes PerformanceEx or Performance Protocol published by DxeCorePerformanceLib\r
+#  to log performance data. If both PerformanceEx and Performance Protocol are not available,\r
+#  it does not log any performance information.\r
 #\r
-#  All rights reserved. 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
+#  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
-#\r
-#**/\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = DxePerformanceLib\r
+  MODULE_UNI_FILE                = DxePerformanceLib.uni\r
   FILE_GUID                      = 8B8B4CCC-65FC-41a5-8067-308B8E42CCF2\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = PerformanceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
-\r
+  LIBRARY_CLASS                  = PerformanceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
 \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
 \r
-[Sources.common]\r
+[Sources]\r
   DxePerformanceLib.c\r
 \r
 \r
   DebugLib\r
 \r
 \r
-[Protocols]\r
-  gPerformanceProtocolGuid                      # PROTOCOL ALWAYS_CONSUMED\r
+[Guids]\r
+  gEdkiiPerformanceMeasurementProtocolGuid    ## SOMETIMES_CONSUMES   ## UNDEFINED # Locate protocol\r
 \r
 \r
-[Pcd.common]\r
-  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask\r
+[Pcd]\r
+  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask    ## CONSUMES\r
 \r