]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseSynchronizationLib/X64/GccInline.c
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Library / BaseSynchronizationLib / X64 / GccInline.c
index 6347073fee510c2fb9f14ee9440ac34dad9bfcc0..5224dd063ffda213b00d9a4cdfdd9dfaaef6b544 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   GCC inline implementation of BaseSynchronizationLib processor specific functions.\r
-  \r
-  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
-  Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> \r
+\r
+  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  Portions copyright (c) 2008 - 2009, Apple Inc. 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
@@ -43,12 +43,12 @@ InternalSyncIncrement (
     "mov     %2, %%eax      "\r
     : "=a" (Result),          // %0\r
       "=m" (*Value)           // %1\r
-    : "m"  (*Value)           // %2 \r
+    : "m"  (*Value)           // %2\r
     : "memory",\r
       "cc"\r
     );\r
-    \r
-  return Result;    \r
+\r
+  return Result;\r
 }\r
 \r
 \r
@@ -72,18 +72,18 @@ InternalSyncDecrement (
   )\r
 {\r
    UINT32  Result;\r
-  \r
+\r
   __asm__ __volatile__ (\r
     "lock               \n\t"\r
     "decl    %2         \n\t"\r
     "mov     %2, %%eax      "\r
     : "=a" (Result),          // %0\r
       "=m" (*Value)           // %1\r
-    : "m"  (*Value)           // %2 \r
+    : "m"  (*Value)           // %2\r
     : "memory",\r
       "cc"\r
     );\r
-    \r
+\r
   return Result;\r
 }\r
 \r
@@ -166,12 +166,12 @@ InternalSyncCompareExchange32 (
     : "=a" (CompareValue),    // %0\r
       "=m" (*Value)           // %1\r
     : "a"  (CompareValue),    // %2\r
-      "r"  (ExchangeValue),   // %3 \r
+      "r"  (ExchangeValue),   // %3\r
       "m"  (*Value)\r
     : "memory",\r
       "cc"\r
     );\r
-    \r
+\r
   return CompareValue;\r
 }\r
 \r
@@ -208,12 +208,12 @@ InternalSyncCompareExchange64 (
     : "=a" (CompareValue),    // %0\r
       "=m" (*Value)           // %1\r
     : "a"  (CompareValue),    // %2\r
-      "r"  (ExchangeValue),   // %3 \r
+      "r"  (ExchangeValue),   // %3\r
       "m"  (*Value)\r
     : "memory",\r
       "cc"\r
     );\r
-  \r
+\r
   return CompareValue;\r
 }\r
 \r