Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 232 of file kdcom.c.
Referenced by KdpPollBreakIn(), and KdpReceiveByte().
{ READ_PORT_UCHAR(ComPortBase + COM_MSR); // Timing /* Check if data is available */ if ((READ_PORT_UCHAR(ComPortBase + COM_LSR) & LSR_DR)) { /* Yes, return the byte */ *OutByte = READ_PORT_UCHAR(ComPortBase + COM_DAT); return KDP_PACKET_RECEIVED; } /* Timed out */ return KDP_PACKET_TIMEOUT; }