diff options
Diffstat (limited to 'hw/serial.c')
-rw-r--r-- | hw/serial.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/serial.c b/hw/serial.c index a82c29cf9c..71f545d86c 100644 --- a/hw/serial.c +++ b/hw/serial.c @@ -586,6 +586,8 @@ static int serial_can_receive(SerialState *s) static void serial_receive_break(SerialState *s) { s->rbr = 0; + /* When the LSR_DR is set a null byte is pushed into the fifo */ + fifo_put(s, RECV_FIFO, '\0'); s->lsr |= UART_LSR_BI | UART_LSR_DR; serial_update_irq(s); } |