/* Retrieve the status of the control bits on a serial device. */
RETURN_STATUS EFIAPI SerialPortGetControl(OUT UINT32 *Control)
/* Retrieve the status of the control bits on a serial device. */
RETURN_STATUS EFIAPI SerialPortGetControl(OUT UINT32 *Control)
{
  *Control = 0;
  if (!SerialPortPoll ()) {
    *Control = EFI_SERIAL_INPUT_BUFFER_EMPTY;
  }
  return RETURN_SUCCESS;
}