Revision 40ff1624
b/hw/serial.c | ||
---|---|---|
586 | 586 |
static void serial_receive_break(SerialState *s) |
587 | 587 |
{ |
588 | 588 |
s->rbr = 0; |
589 |
/* When the LSR_DR is set a null byte is pushed into the fifo */ |
|
590 |
fifo_put(s, RECV_FIFO, '\0'); |
|
589 | 591 |
s->lsr |= UART_LSR_BI | UART_LSR_DR; |
590 | 592 |
serial_update_irq(s); |
591 | 593 |
} |
Also available in: Unified diff