## @file\r
# Performance library instance used by SMM Core.\r
-# \r
+#\r
# This library provides the performance measurement interfaces and initializes performance\r
# logging for the SMM phase.\r
# It initializes SMM phase performance logging by publishing the SMM Performance and PerformanceEx Protocol,\r
# which is consumed by SmmPerformanceLib to logging performance data in SMM phase.\r
# This library is mainly used by SMM Core to start performance logging to ensure that\r
# SMM Performance and PerformanceEx Protocol are installed at the very beginning of SMM phase.\r
-# \r
-# Copyright (c) 2011 - 2017, 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
+#\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
SmmServicesTableLib\r
SmmMemLib\r
UefiLib\r
+ ReportStatusCodeLib\r
+ PeCoffGetEntryPointLib\r
+ DxeServicesLib\r
\r
[Protocols]\r
gEfiSmmBase2ProtocolGuid ## CONSUMES\r
+ gEdkiiSmmReadyToBootProtocolGuid ## NOTIFY\r
\r
[Guids]\r
- ## PRODUCES ## UNDEFINED # Install protocol\r
- ## CONSUMES ## UNDEFINED # SmiHandlerRegister\r
- gSmmPerformanceProtocolGuid\r
- ## PRODUCES ## UNDEFINED # Install protocol\r
- ## CONSUMES ## UNDEFINED # SmiHandlerRegister\r
- gSmmPerformanceExProtocolGuid\r
## PRODUCES ## SystemTable\r
gPerformanceProtocolGuid\r
+ gEdkiiFpdtExtendedFirmwarePerformanceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # StatusCode Data\r
+ gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r
+ gEdkiiSmmPerformanceMeasurementProtocolGuid ## PRODUCES ## UNDEFINED # Install protocol\r
\r
[Pcd]\r
- gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r
+ gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES\r