aboutsummaryrefslogtreecommitdiff
path: root/hw/slavio_serial.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-25 00:55:06 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-25 00:55:06 +0000
commitbd9bdce694ccb76facc882363e4c337e8a88c918 (patch)
treeceecf17dd8ee34cca7ce61ae831b82018bece0c3 /hw/slavio_serial.c
parent1fc678cc72d7ba572fe1ac55dc2f711e77357e54 (diff)
Add input buffer to mux chr (patch by Tristan Gingold).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3735 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/slavio_serial.c')
-rw-r--r--hw/slavio_serial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/slavio_serial.c b/hw/slavio_serial.c
index 534a438a19..9a8e340153 100644
--- a/hw/slavio_serial.c
+++ b/hw/slavio_serial.c
@@ -475,6 +475,7 @@ static uint32_t slavio_serial_mem_readb(void *opaque, target_phys_addr_t addr)
else
ret = s->rx;
SER_DPRINTF("Read channel %c, ch %d\n", CHN_C(s), ret);
+ qemu_chr_accept_input(s->chr);
return ret;
default:
break;