diff options
author | Michael Walle <michael@walle.cc> | 2012-07-31 00:04:57 +0200 |
---|---|---|
committer | Michael Walle <michael@walle.cc> | 2013-03-18 19:40:34 +0100 |
commit | 562f5f5d9e8415cac3ca2eb768dabf068e8e0f4a (patch) | |
tree | ea15cbd46b356dd491f52aec0dc00ecf09ac2eb3 /hw/lm32_uart.c | |
parent | 44ac582d80688ea049c96a20868f4333c6885404 (diff) |
lm32_uart: fix receive buffering
Inform qemu-char when more input data can be received.
Signed-off-by: Michael Walle <michael@walle.cc>
Diffstat (limited to 'hw/lm32_uart.c')
-rw-r--r-- | hw/lm32_uart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/lm32_uart.c b/hw/lm32_uart.c index 02f6f8917..32bc37ac9 100644 --- a/hw/lm32_uart.c +++ b/hw/lm32_uart.c @@ -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: |