projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab2b9f1
)
milkymist-uart: fix receive buffering
author
Michael Walle
<michael@walle.cc>
Mon, 30 Jul 2012 22:04:57 +0000
(
00:04
+0200)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/hw/milkymist-uart.c
b/hw/milkymist-uart.c
index ac6f5373add3ba4c9ee83dd0357caaafd6e075c8..f3bdf6991a4edcf5093b077cedcf2ce5e33f882c 100644
(file)
--- 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: