summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseLib/Math64.c
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-11 02:59:41 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-11 02:59:41 +0000
commit2fc60b703842994beb1d78f9221deca7d81d9159 (patch)
tree71aecf73de4ec34c7f638ec43542be90d9e85b83 /MdePkg/Library/BaseLib/Math64.c
parentfca1cc7199b5abcba465d51ac6f265b2253d68dd (diff)
downloadedk2-2fc60b703842994beb1d78f9221deca7d81d9159.tar.gz
edk2-2fc60b703842994beb1d78f9221deca7d81d9159.tar.bz2
edk2-2fc60b703842994beb1d78f9221deca7d81d9159.zip
Synchronize BaseLib h files to c files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6983 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/Math64.c')
-rw-r--r--MdePkg/Library/BaseLib/Math64.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/MdePkg/Library/BaseLib/Math64.c b/MdePkg/Library/BaseLib/Math64.c
index 0b127c70b1..0001124f06 100644
--- a/MdePkg/Library/BaseLib/Math64.c
+++ b/MdePkg/Library/BaseLib/Math64.c
@@ -68,8 +68,6 @@ InternalMathRShiftU64 (
This function shifts the 64-bit value Operand to the right by Count bits. The
high Count bits are set to bit 63 of Operand. The shifted value is returned.
- If Count is greater than 63, then ASSERT().
-
@param Operand The 64-bit operand to shift right.
@param Count The number of bits to shift right.
@@ -161,7 +159,7 @@ InternalMathRRotU64 (
@param Operand A 64-bit unsigned value.
- @return The byte swaped Operand.
+ @return The byte swapped Operand.
**/
UINT64
@@ -236,7 +234,7 @@ InternalMathMultU64x64 (
unsigned value Divisor and generates a 64-bit unsigned quotient. This
function returns the 64-bit unsigned quotient.
- @param Dividend A 64-bit unsigned value.
+ @param Dividend A 64-bit unsigned value.
@param Divisor A 32-bit unsigned value.
@return Dividend / Divisor
@@ -253,8 +251,8 @@ InternalMathDivU64x32 (
}
/**
- Divides a 64-bit unsigned integer by a 32-bit unsigned integer
- and generates a 32-bit unsigned remainder.
+ Divides a 64-bit unsigned integer by a 32-bit unsigned integer and
+ generates a 32-bit unsigned remainder.
This function divides the 64-bit unsigned value Dividend by the 32-bit
unsigned value Divisor and generates a 32-bit remainder. This function
@@ -298,7 +296,7 @@ EFIAPI
InternalMathDivRemU64x32 (
IN UINT64 Dividend,
IN UINT32 Divisor,
- OUT UINT32 *Remainder OPTIONAL
+ OUT UINT32 *Remainder OPTIONAL
)
{
if (Remainder != NULL) {
@@ -329,7 +327,7 @@ EFIAPI
InternalMathDivRemU64x64 (
IN UINT64 Dividend,
IN UINT64 Divisor,
- OUT UINT64 *Remainder OPTIONAL
+ OUT UINT64 *Remainder OPTIONAL
)
{
if (Remainder != NULL) {
@@ -340,7 +338,7 @@ InternalMathDivRemU64x64 (
/**
Divides a 64-bit signed integer by a 64-bit signed integer and
- generates a 64-bit signed result and a optional 64-bit signed remainder.
+ generates a 64-bit signed result and an optional 64-bit signed remainder.
This function divides the 64-bit signed value Dividend by the 64-bit
signed value Divisor and generates a 64-bit signed quotient. If Remainder