diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-26 01:41:49 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-26 01:41:49 +0000 |
commit | 003c1db883a1e5c4011ded3fe17c2d9405292dd9 (patch) | |
tree | 111277d575948b7b30f4808355dc8a961033044e /MdePkg | |
parent | fe186365de5a889037798295e9f01cd6c12126e9 (diff) | |
download | edk2-platforms-003c1db883a1e5c4011ded3fe17c2d9405292dd9.tar.xz |
Remove checking for overflow in several Multiple functions in BaseLib, for it is not feasible to check in C code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6726 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Library/BaseLib.h | 4 | ||||
-rw-r--r-- | MdePkg/Library/BaseLib/MultS64x64.c | 2 | ||||
-rw-r--r-- | MdePkg/Library/BaseLib/MultU64x32.c | 2 | ||||
-rw-r--r-- | MdePkg/Library/BaseLib/MultU64x64.c | 2 |
4 files changed, 0 insertions, 10 deletions
diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h index 3d9aaaf822..2ea6b6194e 100644 --- a/MdePkg/Include/Library/BaseLib.h +++ b/MdePkg/Include/Library/BaseLib.h @@ -1998,8 +1998,6 @@ SwapBytes64 ( unsigned value Multiplier and generates a 64-bit unsigned result. This 64-
bit unsigned result is returned.
- If the result overflows, then ASSERT().
-
@param Multiplicand A 64-bit unsigned value.
@param Multiplier A 32-bit unsigned value.
@@ -2046,8 +2044,6 @@ MultU64x64 ( signed value Multiplier and generates a 64-bit signed result. This 64-bit
signed result is returned.
- If the result overflows, then ASSERT().
-
@param Multiplicand A 64-bit signed value.
@param Multiplier A 64-bit signed value.
diff --git a/MdePkg/Library/BaseLib/MultS64x64.c b/MdePkg/Library/BaseLib/MultS64x64.c index 1a488cd3d7..334be9ca51 100644 --- a/MdePkg/Library/BaseLib/MultS64x64.c +++ b/MdePkg/Library/BaseLib/MultS64x64.c @@ -25,8 +25,6 @@ signed value Multiplier and generates a 64-bit signed result. This 64-bit
signed result is returned.
- If the result overflows, then ASSERT().
-
@param Multiplicand A 64-bit signed value.
@param Multiplier A 64-bit signed value.
diff --git a/MdePkg/Library/BaseLib/MultU64x32.c b/MdePkg/Library/BaseLib/MultU64x32.c index 7a3e1c7de4..7a8dca8fc0 100644 --- a/MdePkg/Library/BaseLib/MultU64x32.c +++ b/MdePkg/Library/BaseLib/MultU64x32.c @@ -25,8 +25,6 @@ unsigned value Multiplier and generates a 64-bit unsigned result. This 64-
bit unsigned result is returned.
- If the result overflows, then ASSERT().
-
@param Multiplicand A 64-bit unsigned value.
@param Multiplier A 32-bit unsigned value.
diff --git a/MdePkg/Library/BaseLib/MultU64x64.c b/MdePkg/Library/BaseLib/MultU64x64.c index dbbc0bab95..3f96103c38 100644 --- a/MdePkg/Library/BaseLib/MultU64x64.c +++ b/MdePkg/Library/BaseLib/MultU64x64.c @@ -25,8 +25,6 @@ unsigned value Multiplier and generates a 64-bit unsigned result. This 64-
bit unsigned result is returned.
- If the result overflows, then ASSERT().
-
@param Multiplicand A 64-bit unsigned value.
@param Multiplier A 64-bit unsigned value.
|