2 # Performance library instance mainly for DxeCore usage.
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.
12 # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
13 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
14 # SPDX-License-Identifier: BSD-2-Clause-Patent
19 INF_VERSION = 0x00010005
20 BASE_NAME = DxeCorePerformanceLib
21 MODULE_UNI_FILE = DxeCorePerformanceLib.uni
22 FILE_GUID = D0F78BBF-0A30-4c63-8A48-0F618A4AFACD
23 MODULE_TYPE = DXE_CORE
25 LIBRARY_CLASS = PerformanceLib|DXE_CORE
27 CONSTRUCTOR = DxeCorePerformanceLibConstructor
30 # The following information is for reference only and not required by the build tools.
32 # VALID_ARCHITECTURES = IA32 X64 EBC
36 DxeCorePerformanceLib.c
37 DxeCorePerformanceLibInternal.h
41 MdeModulePkg/MdeModulePkg.dec
46 UefiBootServicesTableLib
47 UefiRuntimeServicesTableLib
57 PeCoffGetEntryPointLib
61 gEfiSmmCommunicationProtocolGuid ## SOMETIMES_CONSUMES
65 ## PRODUCES ## SystemTable
66 gPerformanceProtocolGuid
67 gZeroGuid ## SOMETIMES_CONSUMES ## GUID
68 gEfiFirmwarePerformanceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # StatusCode Data
69 gEdkiiFpdtExtendedFirmwarePerformanceGuid ## SOMETIMES_CONSUMES ## HOB # StatusCode Data
70 gEfiEventReadyToBootGuid ## CONSUMES ## Event
71 gEdkiiPiSmmCommunicationRegionTableGuid ## SOMETIMES_CONSUMES ## SystemTable
72 gEdkiiPerformanceMeasurementProtocolGuid ## PRODUCES ## UNDEFINED # Install protocol
75 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES
76 gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES
77 gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize ## CONSUMES