/* This function is used to skip ISA aliasing aperture. */
VOID SkipIsaAliasAperture(OUT UINT64 *Start, IN UINT64 Length)
/* This function is used to skip ISA aliasing aperture. */
VOID SkipIsaAliasAperture(OUT UINT64 *Start, IN UINT64 Length)
{
  UINT64  Original;
  UINT64  Mask;
  UINT64  StartOffset;
  UINT64  LimitOffset;
  ASSERT (Start != NULL);
  Mask = 0x3FF;
  Original    = *Start;
  StartOffset = Original & Mask;
  LimitOffset = ((*Start) + Length - 1) & Mask;
  if (LimitOffset >= ISABASE) {
    *Start = *Start - StartOffset + ISALIMIT + 1;
  }
}