/* This function validates the Device Handle Type field in the Generic Initiator Affinity Structure. */
STATIC VOID EFIAPI ValidateSratDeviceHandleType(IN UINT8 *Ptr, IN VOID *Context)
/* This function validates the Device Handle Type field in the Generic Initiator Affinity Structure. */
STATIC VOID EFIAPI ValidateSratDeviceHandleType(IN UINT8 *Ptr, IN VOID *Context)
{
  UINT8  DeviceHandleType;
  DeviceHandleType = *Ptr;
  if (DeviceHandleType > EFI_ACPI_6_3_PCI_DEVICE_HANDLE) {
    IncrementErrorCount ();
    Print (
      L"\nERROR: Invalid Device Handle Type: %d. Must be between 0 and %d.",
      DeviceHandleType,
      EFI_ACPI_6_3_PCI_DEVICE_HANDLE
      );
  }
}