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 | 44ac582d80688ea049c96a20868f4333c6885404 (patch) | |
tree | 387754822b44fd5c136ab65946b13bace4a37af9 /hw/milkymist-uart.c | |
parent | ab2b9f174db088633922eaa82c2bcffd84e6bb94 (diff) |
milkymist-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/milkymist-uart.c')
-rw-r--r-- | hw/milkymist-uart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/milkymist-uart.c b/hw/milkymist-uart.c index ac6f5373ad..f3bdf6991a 100644 --- a/hw/milkymist-uart.c +++ b/hw/milkymist-uart.c @@ -132,6 +132,7 @@ static void uart_write(void *opaque, hwaddr addr, uint64_t value, case R_STAT: /* write one to clear bits */ s->regs[addr] &= ~(value & (STAT_RX_EVT | STAT_TX_EVT)); + qemu_chr_accept_input(s->chr); break; default: |