X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FGetPowerOfTwo64.c;h=344ce27519e0c70522f8a64896016dc043ba4d86;hb=9aa049d9717f1260426918eab2d5986e838a8754;hp=3cdcecc0217aeb7a780ac2ff957c8a759edfb796;hpb=f734a10ab104f1072f94cab66a5489e0fd8fce8a;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/GetPowerOfTwo64.c b/MdePkg/Library/BaseLib/GetPowerOfTwo64.c index 3cdcecc021..344ce27519 100644 --- a/MdePkg/Library/BaseLib/GetPowerOfTwo64.c +++ b/MdePkg/Library/BaseLib/GetPowerOfTwo64.c @@ -12,16 +12,14 @@ **/ -// -// Include common header file for this module. -// + #include "BaseLibInternals.h" /** Returns the value of the highest bit set in a 64-bit value. Equivalent to - 1 << HighBitSet64(x). + 1 << log2(x). This function computes the value of the highest bit set in the 64-bit value specified by Operand. If Operand is zero, then zero is returned.