InbvPortPollOnly

UINT8 __stdcall InbvPortPollOnly(UINT64 BlFileId){
  __int64 v1; 
  UINT8 result; 
  if( (unsigned int)BlFileId >= 4 || !Ports[5 * (unsigned int)BlFileId] )
    return 0;
  v1 = 5i64 * (unsigned int)BlFileId;
  result = BYTE1(Ports[5 * (unsigned int)BlFileId + 4]);
  if( !result )
  {
    result = (*(unsigned int(__fastcall **)(__int64 *, __int64 *))(UartHardwareDriver + 16))(
               &Ports[5 * (unsigned int)BlFileId],
               &Ports[5 * (unsigned int)BlFileId + 4]) == 0;
    BYTE1(Ports[v1 + 4]) = result;
  }
  return result;
}

Referenced by:

HdlspDispatch
HdlspGetLine