]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
Update Performance library instances to adapt to the update in Performance infrastruc...
[mirror_edk2.git] / MdeModulePkg / Library / DxeCorePerformanceLib / DxeCorePerformanceLib.inf
CommitLineData
a0afd019 1#/** @file\r
857dfc45 2# Performance library instance mainly for DxeCore usage.\r
8dbae30d 3# \r
857dfc45 4# This library provides the performance measurement interfaces and initializes performance\r
5# logging for DXE phase. It first initializes its private global data structure for\r
6# performance logging and saves the performance GUIDed HOB passed from PEI phase. \r
7# It initializes DXE phase performance logging by publishing the Performance Protocol,\r
8# which is consumed by DxePerformanceLib to logging performance data in DXE phase.\r
9# This library is mainly used by DxeCore to start performance logging to ensure that\r
10# Performance Protocol is installed at the very beginning of DXE phase.\r
8dbae30d 11# \r
12# Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
a0afd019 13# All rights reserved. This program and the accompanying materials\r
14# are licensed and made available under the terms and conditions of the BSD License\r
8dbae30d 15# which accompanies this distribution. The full text of the license may be found at\r
a0afd019 16# http://opensource.org/licenses/bsd-license.php\r
8dbae30d 17# \r
a0afd019 18# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
19# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
8dbae30d 20# \r
a0afd019 21#**/\r
22\r
a0afd019 23[Defines]\r
24 INF_VERSION = 0x00010005\r
25 BASE_NAME = DxeCorePerformanceLib\r
26 FILE_GUID = D0F78BBF-0A30-4c63-8A48-0F618A4AFACD\r
27 MODULE_TYPE = DXE_CORE\r
28 VERSION_STRING = 1.0\r
29 LIBRARY_CLASS = PerformanceLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
a0afd019 30\r
31 CONSTRUCTOR = DxeCorePerformanceLibConstructor\r
32\r
33#\r
34# The following information is for reference only and not required by the build tools.\r
35#\r
36# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
37#\r
38\r
a0afd019 39[Sources.common]\r
40 DxeCorePerformanceLib.c\r
aa79b0b3 41 DxeCorePerformanceLibInternal.h\r
a0afd019 42\r
a0afd019 43[Packages]\r
44 MdePkg/MdePkg.dec\r
45 MdeModulePkg/MdeModulePkg.dec\r
46\r
47\r
a0afd019 48[LibraryClasses]\r
49 MemoryAllocationLib\r
50 UefiBootServicesTableLib\r
51 PcdLib\r
52 TimerLib\r
53 BaseMemoryLib\r
54 BaseLib\r
55 HobLib\r
56 DebugLib\r
57\r
58\r
a0afd019 59[Guids]\r
ee0961f7 60 gPerformanceProtocolGuid ## CONSUMES ## HOB\r
61 gPerformanceProtocolGuid ## PRODUCES ## PROTOCOL\r
a0afd019 62\r
b3af5df6 63[Pcd.common]\r
64 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries\r
bba9ad98 65 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask\r