]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c
UefiCpuPkg: Clean up source files
[mirror_edk2.git] / UefiCpuPkg / Library / CpuCommonFeaturesLib / ProcTrace.c
index b42f5de2e307c46ea2c51ebcd92b86afd7a4b528..98490c67776c45ed6df9f34ac1d5114282a17241 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Intel Processor Trace feature.\r
 \r
-  Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2017 - 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
 \r
 ///\r
 /// This macro define the max entries in the Topa table.\r
-/// Each entry in the table contains some attribute bits, a pointer to an output region, and the size of the region. \r
-/// The last entry in the table may hold a pointer to the next table. This pointer can either point to the top of the \r
-/// current table (for circular array) or to the base of another table. \r
-/// At least 2 entries are needed because the list of entries must \r
-/// be terminated by an entry with the END bit set to 1, so 2 \r
+/// Each entry in the table contains some attribute bits, a pointer to an output region, and the size of the region.\r
+/// The last entry in the table may hold a pointer to the next table. This pointer can either point to the top of the\r
+/// current table (for circular array) or to the base of another table.\r
+/// At least 2 entries are needed because the list of entries must\r
+/// be terminated by an entry with the END bit set to 1, so 2\r
 /// entries are required to use a single valid entry.\r
 ///\r
 #define MAX_TOPA_ENTRY_COUNT         2\r
@@ -43,7 +43,7 @@ typedef struct  {
 typedef struct  {\r
   UINT32                      NumberOfProcessors;\r
 \r
-  UINT8                       ProcTraceOutputScheme;  \r
+  UINT8                       ProcTraceOutputScheme;\r
   UINT32                      ProcTraceMemSize;\r
 \r
   UINTN                       *ThreadMemRegionTable;\r
@@ -88,7 +88,7 @@ ProcTraceGetConfigData (
 }\r
 \r
 /**\r
-  Detects if Intel Processor Trace feature supported on current \r
+  Detects if Intel Processor Trace feature supported on current\r
   processor.\r
 \r
   @param[in]  ProcessorNumber  The index of the CPU executing this function.\r
@@ -291,7 +291,7 @@ ProcTraceInitialize (
   //\r
   //  Single Range output scheme\r
   //\r
-  if (ProcTraceData->ProcessorData[ProcessorNumber].SingleRangeSupported && \r
+  if (ProcTraceData->ProcessorData[ProcessorNumber].SingleRangeSupported &&\r
       (ProcTraceData->ProcTraceOutputScheme == RtitOutputSchemeSingleRange)) {\r
     if (FirstIn) {\r
       DEBUG ((DEBUG_INFO, "ProcTrace: Enabling Single Range Output scheme \n"));\r
@@ -337,7 +337,7 @@ ProcTraceInitialize (
   //\r
   //  ToPA(Table of physical address) scheme\r
   //\r
-  if (ProcTraceData->ProcessorData[ProcessorNumber].TopaSupported && \r
+  if (ProcTraceData->ProcessorData[ProcessorNumber].TopaSupported &&\r
       (ProcTraceData->ProcTraceOutputScheme == RtitOutputSchemeToPA)) {\r
     //\r
     //  Create ToPA structure aligned at 4KB for each logical thread\r