]> git.proxmox.com Git - mirror_qemu.git/commitdiff
milkymist-uart: fix receive buffering
authorMichael Walle <michael@walle.cc>
Mon, 30 Jul 2012 22:04:57 +0000 (00:04 +0200)
committerMichael Walle <michael@walle.cc>
Mon, 18 Mar 2013 18:40:34 +0000 (19:40 +0100)
Inform qemu-char when more input data can be received.

Signed-off-by: Michael Walle <michael@walle.cc>
hw/milkymist-uart.c

index ac6f5373add3ba4c9ee83dd0357caaafd6e075c8..f3bdf6991a4edcf5093b077cedcf2ce5e33f882c 100644 (file)
@@ -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: