diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-25 02:14:25 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-25 02:14:25 +0000 |
commit | 8cefc2ee7000517970c0755e5e80de4fb243d5d5 (patch) | |
tree | 486e7e3feb54a342bbd61b7d6a31522e640ae31b /MdePkg | |
parent | eb5bb28e048a4328322b86a69012dc868a37ad4b (diff) | |
download | edk2-platforms-8cefc2ee7000517970c0755e5e80de4fb243d5d5.tar.xz |
Clean up code according to code review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5965 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Library/TimerLib.h | 4 | ||||
-rw-r--r-- | MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c | 7 | ||||
-rw-r--r-- | MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c | 8 | ||||
-rw-r--r-- | MdePkg/Library/SecPeiDxeTimerLibCpu/X86TimerLib.c | 6 |
4 files changed, 9 insertions, 16 deletions
diff --git a/MdePkg/Include/Library/TimerLib.h b/MdePkg/Include/Library/TimerLib.h index 3959396e20..f7c9e3f4ec 100644 --- a/MdePkg/Include/Library/TimerLib.h +++ b/MdePkg/Include/Library/TimerLib.h @@ -20,7 +20,7 @@ @param MicroSeconds The minimum number of microseconds to delay.
- @return MicroSeconds
+ @return The value of MicroSeconds inputted.
**/
UINTN
@@ -34,7 +34,7 @@ MicroSecondDelay ( @param NanoSeconds The minimum number of nanoseconds to delay.
- @return NanoSeconds
+ @return The value of NanoSeconds inputted.
**/
UINTN
diff --git a/MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c b/MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c index 0d42df999a..f72879103b 100644 --- a/MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c +++ b/MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c @@ -12,10 +12,7 @@ **/
-
#include <Base.h>
-
-
#include <Library/TimerLib.h>
#include <Library/DebugLib.h>
@@ -24,7 +21,7 @@ @param MicroSeconds The minimum number of microseconds to delay.
- @return MicroSeconds.
+ @return The value of MicroSeconds inputted.
**/
UINTN
@@ -42,7 +39,7 @@ MicroSecondDelay ( @param NanoSeconds The minimum number of nanoseconds to delay.
- @return NanoSeconds.
+ @return The value of NanoSeconds inputted.
**/
UINTN
diff --git a/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c b/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c index b8e91accfd..de78606b5e 100644 --- a/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c +++ b/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c @@ -1,7 +1,7 @@ /** @file
Timer Library functions built upon ITC on IPF.
- Copyright (c) 2006 - 2007, Intel Corporation<BR>
+ Copyright (c) 2006 - 2008, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -55,7 +55,7 @@ InternalIpfDelay ( @param MicroSeconds The minimum number of microseconds to delay.
- @return MicroSeconds
+ @return The value of MicroSeconds inputted.
**/
UINTN
@@ -79,7 +79,7 @@ MicroSecondDelay ( @param NanoSeconds The minimum number of nanoseconds to delay.
- @return NanoSeconds
+ @return The value of NanoSeconds inputted.
**/
UINTN
@@ -97,8 +97,6 @@ NanoSecondDelay ( }
/**
- Retrieves the current value of a 64-bit free running performance counter.
-
Retrieves the current value of a 64-bit free running performance counter. The
counter can either count up by 1 or count down by 1. If the physical
performance counter counts by a larger increment, then the counter values
diff --git a/MdePkg/Library/SecPeiDxeTimerLibCpu/X86TimerLib.c b/MdePkg/Library/SecPeiDxeTimerLibCpu/X86TimerLib.c index 7319524596..81b4c90297 100644 --- a/MdePkg/Library/SecPeiDxeTimerLibCpu/X86TimerLib.c +++ b/MdePkg/Library/SecPeiDxeTimerLibCpu/X86TimerLib.c @@ -121,7 +121,7 @@ InternalX86Delay ( @param MicroSeconds The minimum number of microseconds to delay.
- @return MicroSeconds
+ @return The value of MicroSeconds inputted.
**/
UINTN
@@ -153,7 +153,7 @@ MicroSecondDelay ( @param NanoSeconds The minimum number of nanoseconds to delay.
- @return NanoSeconds
+ @return The value of NanoSeconds inputted.
**/
UINTN
@@ -179,8 +179,6 @@ NanoSecondDelay ( }
/**
- Retrieves the current value of a 64-bit free running performance counter.
-
Retrieves the current value of a 64-bit free running performance counter. The
counter can either count up by 1 or count down by 1. If the physical
performance counter counts by a larger increment, then the counter values
|