lm32_uart: fix receive buffering

Inform qemu-char when more input data can be received.

Signed-off-by: Michael Walle <michael@walle.cc>
This commit is contained in:
Michael Walle 2012-07-31 00:04:57 +02:00
parent 44ac582d80
commit 562f5f5d9e

View File

@ -137,6 +137,7 @@ static uint64_t uart_read(void *opaque, hwaddr addr,
r = s->regs[R_RXTX];
s->regs[R_LSR] &= ~LSR_DR;
uart_update_irq(s);
qemu_chr_accept_input(s->chr);
break;
case R_IIR:
case R_LSR: