mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
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:
parent
44ac582d80
commit
562f5f5d9e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user