library instance at its constructor.\r
\r
Copyright (c) 2011 - 2018, 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
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
- \r
+\r
#ifndef _SMM_CORE_PERFORMANCE_LIB_INTERNAL_H_\r
#define _SMM_CORE_PERFORMANCE_LIB_INTERNAL_H_\r
\r
-\r
#include <Guid/Performance.h>\r
#include <Guid/PerformanceMeasurement.h>\r
#include <Guid/ExtendedFirmwarePerformance.h>\r
#include <Library/BaseMemoryLib.h>\r
#include <Library/TimerLib.h>\r
#include <Library/PcdLib.h>\r
-#include <Library/UefiLib.h> \r
+#include <Library/UefiLib.h>\r
#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/MemoryAllocationLib.h>\r
#include <Library/SynchronizationLib.h>\r
//\r
// Interface declarations for SMM PerformanceMeasurement Protocol.\r
//\r
+\r
/**\r
Create performance record with event description and a timestamp.\r
\r
**/\r
EFI_STATUS\r
EFIAPI\r
-CreatePerformanceMeasurement(\r
- IN CONST VOID *CallerIdentifier, OPTIONAL\r
- IN CONST VOID *Guid, OPTIONAL\r
- IN CONST CHAR8 *String, OPTIONAL\r
- IN UINT64 TimeStamp, OPTIONAL\r
- IN UINT64 Address, OPTIONAL\r
+CreatePerformanceMeasurement (\r
+ IN CONST VOID *CallerIdentifier OPTIONAL,\r
+ IN CONST VOID *Guid OPTIONAL,\r
+ IN CONST CHAR8 *String OPTIONAL,\r
+ IN UINT64 TimeStamp OPTIONAL,\r
+ IN UINT64 Address OPTIONAL,\r
IN UINT32 Identifier,\r
IN PERF_MEASUREMENT_ATTRIBUTE Attribute\r
);\r