/* This function validates that the Physical Range address or length is not zero and is 64K aligned. */
STATIC VOID EFIAPI ValidatePhysicalRange(IN UINT8 *Ptr, IN VOID *Context)
/* This function validates that the Physical Range address or length is not zero and is 64K aligned. */
STATIC VOID EFIAPI ValidatePhysicalRange(IN UINT8 *Ptr, IN VOID *Context)
{
  UINT64  Value;
  Value = *(UINT64 *)Ptr;
  if ((Value == 0) || ((Value & (SIZE_64KB - 1)) != 0)) {
    IncrementErrorCount ();
    Print (L"\nERROR: Physical Range must be 64K aligned and cannot be zero.");
  }
}