X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FLibrary%2FDxeCorePerformanceLib%2FDxeCorePerformanceLib.inf;h=1c1dcc60a6a62cd10d2e31d7c06b82a360a86984;hb=9d510e61fceee7b92955ef9a3c20343752d8ce3f;hp=e091c6271426bf0ae093460765d303f5b6fa8421;hpb=4d5c1d50d87201b0a0e694ce160b9b0c49734200;p=mirror_edk2.git diff --git a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf index e091c62714..1c1dcc60a6 100644 --- a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf +++ b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf @@ -1,24 +1,18 @@ ## @file # Performance library instance mainly for DxeCore usage. -# +# # This library provides the performance measurement interfaces and initializes performance # logging for DXE phase. It first initializes its private global data structure for -# performance logging and saves the performance GUIDed HOB passed from PEI phase. +# performance logging and saves the performance GUIDed HOB passed from PEI phase. # It initializes DXE phase performance logging by publishing the Performance and PerformanceEx Protocol, # which is consumed by DxePerformanceLib to logging performance data in DXE phase. # This library is mainly used by DxeCore to start performance logging to ensure that # Performance and PerformanceEx Protocol are installed at the very beginning of DXE phase. -# -# Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
+# +# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
-# This program and the accompanying materials -# are licensed and made available under the terms and conditions of the BSD License -# which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php -# -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# ## [Defines] @@ -35,7 +29,7 @@ # # The following information is for reference only and not required by the build tools. # -# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# VALID_ARCHITECTURES = IA32 X64 EBC # [Sources] @@ -50,23 +44,34 @@ [LibraryClasses] MemoryAllocationLib UefiBootServicesTableLib + UefiRuntimeServicesTableLib PcdLib TimerLib BaseMemoryLib BaseLib HobLib DebugLib + UefiLib + ReportStatusCodeLib + DxeServicesLib + PeCoffGetEntryPointLib + DevicePathLib + +[Protocols] + gEfiSmmCommunicationProtocolGuid ## SOMETIMES_CONSUMES [Guids] - ## SOMETIMES_CONSUMES ## HOB - ## PRODUCES ## UNDEFINED # Install protocol + ## PRODUCES ## SystemTable gPerformanceProtocolGuid - ## SOMETIMES_CONSUMES ## HOB - ## PRODUCES ## UNDEFINED # Install protocol - gPerformanceExProtocolGuid + gZeroGuid ## SOMETIMES_CONSUMES ## GUID + gEfiFirmwarePerformanceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # StatusCode Data + gEdkiiFpdtExtendedFirmwarePerformanceGuid ## SOMETIMES_CONSUMES ## HOB # StatusCode Data + gEfiEventReadyToBootGuid ## CONSUMES ## Event + gEdkiiPiSmmCommunicationRegionTableGuid ## SOMETIMES_CONSUMES ## SystemTable + gEdkiiPerformanceMeasurementProtocolGuid ## PRODUCES ## UNDEFINED # Install protocol [Pcd] - gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries ## CONSUMES - gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries16 ## CONSUMES - gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES + gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize ## CONSUMES