X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FMultU64x32.c;h=28eca84c754c24b4e951e9110b4522a68c275910;hb=f734a10ab104f1072f94cab66a5489e0fd8fce8a;hp=4c30472bfa986c887efbb00c1973d9936f271630;hpb=878ddf1fc3540a715f63594ed22b6929e881afb4;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/MultU64x32.c b/MdePkg/Library/BaseLib/MultU64x32.c index 4c30472bfa..28eca84c75 100644 --- a/MdePkg/Library/BaseLib/MultU64x32.c +++ b/MdePkg/Library/BaseLib/MultU64x32.c @@ -12,6 +12,11 @@ **/ +// +// Include common header file for this module. +// + + #include "BaseLibInternals.h" /** @@ -22,8 +27,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. @@ -40,6 +43,6 @@ MultU64x32 ( UINT64 Result; Result = InternalMathMultU64x32 (Multiplicand, Multiplier); - // TODO: ASSERT (Result not overflow); + return Result; }