]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Clean up code according to code review.
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 25 Sep 2008 02:14:25 +0000 (02:14 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 25 Sep 2008 02:14:25 +0000 (02:14 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5965 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Library/TimerLib.h
MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c
MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c
MdePkg/Library/SecPeiDxeTimerLibCpu/X86TimerLib.c

index 3959396e205f5729fe42a2a10c6f25103627469a..f7c9e3f4ec055228e6c93980640753336a0d5e9f 100644 (file)
@@ -20,7 +20,7 @@
 \r
   @param  MicroSeconds  The minimum number of microseconds to delay.\r
 \r
-  @return MicroSeconds\r
+  @return The value of MicroSeconds inputted.\r
 \r
 **/\r
 UINTN\r
@@ -34,7 +34,7 @@ MicroSecondDelay (
 \r
   @param  NanoSeconds The minimum number of nanoseconds to delay.\r
 \r
-  @return NanoSeconds\r
+  @return The value of NanoSeconds inputted.\r
 \r
 **/\r
 UINTN\r
index 0d42df999a875e82bcacdbe68ef1dea58e4a42de..f72879103b4dd563a9f16e247e76edede292712f 100644 (file)
 \r
 **/\r
 \r
-\r
 #include <Base.h>\r
-\r
-\r
 #include <Library/TimerLib.h>\r
 #include <Library/DebugLib.h>\r
 \r
@@ -24,7 +21,7 @@
 \r
   @param  MicroSeconds  The minimum number of microseconds to delay.\r
 \r
-  @return MicroSeconds.\r
+  @return The value of MicroSeconds inputted.\r
 \r
 **/\r
 UINTN\r
@@ -42,7 +39,7 @@ MicroSecondDelay (
 \r
   @param  NanoSeconds The minimum number of nanoseconds to delay.\r
 \r
-  @return NanoSeconds.\r
+  @return The value of NanoSeconds inputted.\r
 \r
 **/\r
 UINTN\r
index b8e91accfd056101012d981f54e3371ded072f39..de78606b5e4509d0d2525e25add0d197614a8970 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Timer Library functions built upon ITC on IPF.\r
 \r
-  Copyright (c) 2006 - 2007, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
   All rights reserved. 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
@@ -55,7 +55,7 @@ InternalIpfDelay (
 \r
   @param  MicroSeconds  The minimum number of microseconds to delay.\r
 \r
-  @return MicroSeconds\r
+  @return The value of MicroSeconds inputted.\r
 \r
 **/\r
 UINTN\r
@@ -79,7 +79,7 @@ MicroSecondDelay (
 \r
   @param  NanoSeconds The minimum number of nanoseconds to delay.\r
 \r
-  @return NanoSeconds\r
+  @return The value of NanoSeconds inputted.\r
 \r
 **/\r
 UINTN\r
@@ -97,8 +97,6 @@ NanoSecondDelay (
 }\r
 \r
 /**\r
-  Retrieves the current value of a 64-bit free running performance counter.\r
-\r
   Retrieves the current value of a 64-bit free running performance counter. The\r
   counter can either count up by 1 or count down by 1. If the physical\r
   performance counter counts by a larger increment, then the counter values\r
index 7319524596f493baa2622f6ca2e83af23c2c3617..81b4c902979f9ed1bc9d6514c70852031607ad2a 100644 (file)
@@ -121,7 +121,7 @@ InternalX86Delay (
 \r
   @param  MicroSeconds  The minimum number of microseconds to delay.\r
 \r
-  @return MicroSeconds\r
+  @return The value of MicroSeconds inputted.\r
 \r
 **/\r
 UINTN\r
@@ -153,7 +153,7 @@ MicroSecondDelay (
 \r
   @param  NanoSeconds The minimum number of nanoseconds to delay.\r
 \r
-  @return NanoSeconds\r
+  @return The value of NanoSeconds inputted.\r
 \r
 **/\r
 UINTN\r
@@ -179,8 +179,6 @@ NanoSecondDelay (
 }\r
 \r
 /**\r
-  Retrieves the current value of a 64-bit free running performance counter.\r
-\r
   Retrieves the current value of a 64-bit free running performance counter. The\r
   counter can either count up by 1 or count down by 1. If the physical\r
   performance counter counts by a larger increment, then the counter values\r