## @file\r
# Performance library instance used in SMM phase.\r
-# \r
+#\r
# This library instance provides infrastructure for SMM drivers to log performance\r
-# data. It consumes SMM Performance Protocol published by SmmCorePerformanceLib\r
-# to log performance data. If Performance Protocol is not available, it does not log any\r
-# performance information.\r
-# \r
-# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-# \r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-# \r
+# data. It consumes SMM PerformanceEx or Performance Protocol published by SmmCorePerformanceLib\r
+# to log performance data. If both SMM PerformanceEx and Performance Protocol are not available,\r
+# it does not log any performance information.\r
+#\r
+# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = SmmPerformanceLib\r
+ MODULE_UNI_FILE = SmmPerformanceLib.uni\r
FILE_GUID = 1EDD13E6-D0CD-4432-A692-FF65C9B4F039\r
MODULE_TYPE = DXE_SMM_DRIVER\r
VERSION_STRING = 1.0\r
DebugLib\r
BaseMemoryLib\r
\r
-[Protocols]\r
- gEfiSmmCommunicationProtocolGuid ## CONSUMES\r
-\r
-\r
[Guids]\r
- gSmmPerformanceProtocolGuid ## CONSUMES\r
-\r
+ gEdkiiSmmPerformanceMeasurementProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol\r
\r
[Pcd]\r
- gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask\r
-\r
-[Depex]\r
- gEfiSmmCommunicationProtocolGuid\r
+ gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r