mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2025-10-12 17:24:07 +00:00
![]() Drop MtrrLibIsPowerOfTwo function, use the new IS_POW2() macro instead. The ASSERT() removed (inside MtrrLibIsPowerOfTwo) is superfluous, another ASSERT() a few lines up in MtrrLibCalculateMtrrs() already guarantees that Length can not be zero at this point. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Ray Ni <ray.ni@intel.com> |
||
---|---|---|
.. | ||
UnitTest | ||
MtrrLib.c | ||
MtrrLib.inf | ||
MtrrLib.uni |