]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
MdeModulePkg: Remove NetLib and Ip4Config Protocol dependency.
[mirror_edk2.git] / MdeModulePkg / Library / DxeCorePerformanceLib / DxeCorePerformanceLib.inf
CommitLineData
6bfbb5f0 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
f0da4d7d 7# It initializes DXE phase performance logging by publishing the Performance and PerformanceEx Protocol,\r
857dfc45 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
f0da4d7d 10# Performance and PerformanceEx Protocol are installed at the very beginning of DXE phase.\r
8dbae30d 11# \r
6036e94d 12# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
cd5ebaa0 13# This program and the accompanying materials\r
a0afd019 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
6bfbb5f0 21##\r
a0afd019 22\r
a0afd019 23[Defines]\r
24 INF_VERSION = 0x00010005\r
25 BASE_NAME = DxeCorePerformanceLib\r
6036e94d 26 MODULE_UNI_FILE = DxeCorePerformanceLib.uni\r
a0afd019 27 FILE_GUID = D0F78BBF-0A30-4c63-8A48-0F618A4AFACD\r
28 MODULE_TYPE = DXE_CORE\r
29 VERSION_STRING = 1.0\r
30 LIBRARY_CLASS = PerformanceLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
a0afd019 31\r
32 CONSTRUCTOR = DxeCorePerformanceLibConstructor\r
33\r
34#\r
35# The following information is for reference only and not required by the build tools.\r
36#\r
37# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
38#\r
39\r
6bfbb5f0 40[Sources]\r
a0afd019 41 DxeCorePerformanceLib.c\r
aa79b0b3 42 DxeCorePerformanceLibInternal.h\r
a0afd019 43\r
a0afd019 44[Packages]\r
45 MdePkg/MdePkg.dec\r
46 MdeModulePkg/MdeModulePkg.dec\r
47\r
48\r
a0afd019 49[LibraryClasses]\r
50 MemoryAllocationLib\r
51 UefiBootServicesTableLib\r
52 PcdLib\r
53 TimerLib\r
54 BaseMemoryLib\r
55 BaseLib\r
56 HobLib\r
57 DebugLib\r
58\r
59\r
a0afd019 60[Guids]\r
6036e94d
SZ
61 ## SOMETIMES_CONSUMES ## HOB\r
62 ## PRODUCES ## UNDEFINED # Install protocol\r
63 gPerformanceProtocolGuid\r
64 ## SOMETIMES_CONSUMES ## HOB\r
65 ## PRODUCES ## UNDEFINED # Install protocol\r
66 gPerformanceExProtocolGuid\r
a0afd019 67\r
6bfbb5f0 68[Pcd]\r
6036e94d
SZ
69 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries ## CONSUMES\r
70 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r