From: vanjeff Date: Thu, 25 Sep 2008 02:14:25 +0000 (+0000) Subject: Clean up code according to code review. X-Git-Tag: edk2-stable201903~20260 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=8cefc2ee7000517970c0755e5e80de4fb243d5d5;ds=sidebyside 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 --- 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 - - #include #include @@ -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
+ Copyright (c) 2006 - 2008, Intel Corporation
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