Merge pull request #6106 from Cacodemon345/linux-port-fixes

Pass through serial lines between serial port and emulator
This commit is contained in:
Miran Grča
2025-08-29 21:26:36 +02:00
committed by GitHub
4 changed files with 77 additions and 1 deletions

View File

@@ -75,6 +75,8 @@ host_to_serial_cb(void *priv)
uint8_t byte;
plat_serpt_set_line_state(priv);
/* write_fifo has no failure indication, but if we write to fast, the host
* can never fetch the bytes in time, so check if the fifo is full if in
* fifo mode or if lsr has bit 0 set if not in fifo mode */