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