mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
eb5bb28e04
commit
8cefc2ee70
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
@param MicroSeconds The minimum number of microseconds to delay.
|
@param MicroSeconds The minimum number of microseconds to delay.
|
||||||
|
|
||||||
@return MicroSeconds
|
@return The value of MicroSeconds inputted.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
UINTN
|
UINTN
|
||||||
|
@ -34,7 +34,7 @@ MicroSecondDelay (
|
||||||
|
|
||||||
@param NanoSeconds The minimum number of nanoseconds to delay.
|
@param NanoSeconds The minimum number of nanoseconds to delay.
|
||||||
|
|
||||||
@return NanoSeconds
|
@return The value of NanoSeconds inputted.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
UINTN
|
UINTN
|
||||||
|
|
|
@ -12,10 +12,7 @@
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
#include <Base.h>
|
#include <Base.h>
|
||||||
|
|
||||||
|
|
||||||
#include <Library/TimerLib.h>
|
#include <Library/TimerLib.h>
|
||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
|
|
||||||
|
@ -24,7 +21,7 @@
|
||||||
|
|
||||||
@param MicroSeconds The minimum number of microseconds to delay.
|
@param MicroSeconds The minimum number of microseconds to delay.
|
||||||
|
|
||||||
@return MicroSeconds.
|
@return The value of MicroSeconds inputted.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
UINTN
|
UINTN
|
||||||
|
@ -42,7 +39,7 @@ MicroSecondDelay (
|
||||||
|
|
||||||
@param NanoSeconds The minimum number of nanoseconds to delay.
|
@param NanoSeconds The minimum number of nanoseconds to delay.
|
||||||
|
|
||||||
@return NanoSeconds.
|
@return The value of NanoSeconds inputted.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
UINTN
|
UINTN
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Timer Library functions built upon ITC on IPF.
|
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
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
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.
|
@param MicroSeconds The minimum number of microseconds to delay.
|
||||||
|
|
||||||
@return MicroSeconds
|
@return The value of MicroSeconds inputted.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
UINTN
|
UINTN
|
||||||
|
@ -79,7 +79,7 @@ MicroSecondDelay (
|
||||||
|
|
||||||
@param NanoSeconds The minimum number of nanoseconds to delay.
|
@param NanoSeconds The minimum number of nanoseconds to delay.
|
||||||
|
|
||||||
@return NanoSeconds
|
@return The value of NanoSeconds inputted.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
UINTN
|
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
|
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
|
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
|
performance counter counts by a larger increment, then the counter values
|
||||||
|
|
|
@ -121,7 +121,7 @@ InternalX86Delay (
|
||||||
|
|
||||||
@param MicroSeconds The minimum number of microseconds to delay.
|
@param MicroSeconds The minimum number of microseconds to delay.
|
||||||
|
|
||||||
@return MicroSeconds
|
@return The value of MicroSeconds inputted.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
UINTN
|
UINTN
|
||||||
|
@ -153,7 +153,7 @@ MicroSecondDelay (
|
||||||
|
|
||||||
@param NanoSeconds The minimum number of nanoseconds to delay.
|
@param NanoSeconds The minimum number of nanoseconds to delay.
|
||||||
|
|
||||||
@return NanoSeconds
|
@return The value of NanoSeconds inputted.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
UINTN
|
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
|
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
|
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
|
performance counter counts by a larger increment, then the counter values
|
||||||
|
|
Loading…
Reference in New Issue