/* Return MTRR alignment requirement for base address and size. */
UINT32 CheckMtrrAlignment(IN UINT64 BaseAddress, IN UINT64 Size)
/* Return MTRR alignment requirement for base address and size. */
UINT32 CheckMtrrAlignment(IN UINT64 BaseAddress, IN UINT64 Size)
{
  UINT32  ShiftedBase;
  UINT32  ShiftedSize;
  ShiftedBase = (UINT32)RShiftU64 (BaseAddress, 12);
  ShiftedSize = (UINT32)RShiftU64 (Size, 12);
  return ShiftedBase % ShiftedSize;
}