From f215e02bf85f68d3a6106c2a1f4f7f063f819064 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 11 Apr 2024 10:17:27 +0200 Subject: Adding upstream version 7.0.14-dfsg. Signed-off-by: Daniel Baumann --- .../SmmPerformanceLib/SmmPerformanceLib.inf | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf (limited to 'src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf') diff --git a/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf b/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf new file mode 100644 index 00000000..2f519e53 --- /dev/null +++ b/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf @@ -0,0 +1,50 @@ +## @file +# Performance library instance used in SMM phase. +# +# This library instance provides infrastructure for SMM drivers to log performance +# data. It consumes SMM PerformanceEx or Performance Protocol published by SmmCorePerformanceLib +# to log performance data. If both SMM PerformanceEx and Performance Protocol are not available, +# it does not log any performance information. +# +# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = SmmPerformanceLib + MODULE_UNI_FILE = SmmPerformanceLib.uni + FILE_GUID = 1EDD13E6-D0CD-4432-A692-FF65C9B4F039 + MODULE_TYPE = DXE_SMM_DRIVER + VERSION_STRING = 1.0 + LIBRARY_CLASS = PerformanceLib|DXE_SMM_DRIVER + + CONSTRUCTOR = SmmPerformanceLibConstructor + +# +# The following information is for reference only and not required by the build tools. +# +# VALID_ARCHITECTURES = IA32 X64 +# + +[Sources] + SmmPerformanceLib.c + + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + + +[LibraryClasses] + PcdLib + SmmServicesTableLib + DebugLib + BaseMemoryLib + +[Guids] + gEdkiiSmmPerformanceMeasurementProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol + +[Pcd] + gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES -- cgit v1.2.3