]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Library / DxeSmmPerformanceLib / DxeSmmPerformanceLib.c
index d8d06842734570df03bc933c386c2972c248b456..353174724e4b65479658d24d03a862c0f9662cdc 100644 (file)
@@ -5,7 +5,7 @@
   StartPerformanceMeasurement(), EndPerformanceMeasurement(), StartPerformanceMeasurementEx()\r
   and EndPerformanceMeasurementEx() are not implemented.\r
 \r
-  Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>\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
@@ -313,7 +313,7 @@ EndPerformanceMeasurement (
 UINTN\r
 EFIAPI\r
 GetByPerformanceProtocol (\r
-  IN  UINTN       LogEntryKey, \r
+  IN  UINTN       LogEntryKey,\r
   OUT CONST VOID  **Handle,\r
   OUT CONST CHAR8 **Token,\r
   OUT CONST CHAR8 **Module,\r
@@ -450,12 +450,12 @@ GetAllSmmGaugeData (
   mSmmPerformanceBuffer = (UINT8 *) (UINTN) Entry->PhysicalStart;\r
 \r
   //\r
-  // Initialize communicate buffer \r
+  // Initialize communicate buffer\r
   //\r
   SmmCommBufferHeader = (EFI_SMM_COMMUNICATE_HEADER *)mSmmPerformanceBuffer;\r
   SmmPerfCommData = (SMM_PERF_COMMUNICATE *)SmmCommBufferHeader->Data;\r
   ZeroMem((UINT8*)SmmPerfCommData, sizeof(SMM_PERF_COMMUNICATE));\r
-    \r
+\r
   CopyGuid (&SmmCommBufferHeader->HeaderGuid, &gSmmPerformanceProtocolGuid);\r
   SmmCommBufferHeader->MessageLength = sizeof(SMM_PERF_COMMUNICATE);\r
   CommSize = SMM_PERFORMANCE_COMMUNICATION_BUFFER_SIZE;\r
@@ -482,7 +482,7 @@ GetAllSmmGaugeData (
 \r
   //\r
   // Get all SMM gauge data\r
-  //  \r
+  //\r
   SmmPerfCommData->Function = SMM_PERF_FUNCTION_GET_GAUGE_DATA;\r
   SmmPerfCommData->GaugeData = (GAUGE_DATA_ENTRY *) Buffer;\r
   EntriesGot = 0;\r
@@ -589,12 +589,12 @@ GetAllSmmGaugeDataEx (
   ASSERT (Index < PiSmmCommunicationRegionTable->NumberOfEntries);\r
   mSmmPerformanceBuffer = (UINT8 *) (UINTN) Entry->PhysicalStart;\r
   //\r
-  // Initialize communicate buffer \r
+  // Initialize communicate buffer\r
   //\r
   SmmCommBufferHeader = (EFI_SMM_COMMUNICATE_HEADER *)mSmmPerformanceBuffer;\r
   SmmPerfCommData = (SMM_PERF_COMMUNICATE_EX *)SmmCommBufferHeader->Data;\r
   ZeroMem((UINT8*)SmmPerfCommData, sizeof(SMM_PERF_COMMUNICATE_EX));\r
-    \r
+\r
   CopyGuid (&SmmCommBufferHeader->HeaderGuid, &gSmmPerformanceExProtocolGuid);\r
   SmmCommBufferHeader->MessageLength = sizeof(SMM_PERF_COMMUNICATE_EX);\r
   CommSize = SMM_PERFORMANCE_COMMUNICATION_BUFFER_SIZE;\r
@@ -621,7 +621,7 @@ GetAllSmmGaugeDataEx (
 \r
   //\r
   // Get all SMM gauge data\r
-  //  \r
+  //\r
   SmmPerfCommData->Function = SMM_PERF_FUNCTION_GET_GAUGE_DATA;\r
   SmmPerfCommData->GaugeDataEx = (GAUGE_DATA_ENTRY_EX *) Buffer;\r
   EntriesGot = 0;\r
@@ -691,7 +691,7 @@ GetAllSmmGaugeDataEx (
 UINTN\r
 EFIAPI\r
 GetPerformanceMeasurementEx (\r
-  IN  UINTN       LogEntryKey, \r
+  IN  UINTN       LogEntryKey,\r
   OUT CONST VOID  **Handle,\r
   OUT CONST CHAR8 **Token,\r
   OUT CONST CHAR8 **Module,\r