]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Misc/Stall.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Misc / Stall.c
index 95a561546fe15a8541fc8b5b64b5408a2d212c92..171d5c0220a251f5999eddb856ef9811d8e9a16c 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   UEFI Miscellaneous boot Services Stall service implementation\r
 \r
-Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 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
@@ -19,8 +19,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include "DxeMain.h"\r
 \r
 /**\r
-  Internal worker function to call the Metronome Architectural Protocol for \r
-  the number of ticks specified by the UINT64 Counter value.  WaitForTick() \r
+  Internal worker function to call the Metronome Architectural Protocol for\r
+  the number of ticks specified by the UINT64 Counter value.  WaitForTick()\r
   service of the Metronome Architectural Protocol uses a UINT32 for the number\r
   of ticks to wait, so this function loops when Counter is larger than 0xffffffff.\r
 \r
@@ -69,7 +69,7 @@ CoreStall (
   //\r
   if ((UINT64) Microseconds > 0x1999999999999999ULL) {\r
     //\r
-    // Microseconds is too large to multiple by 10 first.  Perform the divide \r
+    // Microseconds is too large to multiple by 10 first.  Perform the divide\r
     // operation first and loop 10 times to avoid 64-bit math overflow.\r
     //\r
     Counter = DivU64x32Remainder (\r
@@ -79,11 +79,11 @@ CoreStall (
                 );\r
     for (Index = 0; Index < 10; Index++) {\r
       CoreInternalWaitForTick (Counter);\r
-    }      \r
+    }\r
 \r
     if (Remainder != 0) {\r
       //\r
-      // If Remainder was not zero, then normally, Counter would be rounded \r
+      // If Remainder was not zero, then normally, Counter would be rounded\r
       // up by 1 tick.  In this case, since a loop for 10 counts was used\r
       // to emulate the multiply by 10 operation, Counter needs to be rounded\r
       // up by 10 counts.\r