aboutsummaryrefslogtreecommitdiff
path: root/hw/pl011.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/pl011.c
parent1fc678cc72d7ba572fe1ac55dc2f711e77357e54 (diff)
downloadqemu-bd9bdce694ccb76facc882363e4c337e8a88c918.zip
qemu-bd9bdce694ccb76facc882363e4c337e8a88c918.tar.gz
qemu-bd9bdce694ccb76facc882363e4c337e8a88c918.tar.bz2
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/pl011.c')
-rw-r--r--hw/pl011.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pl011.c b/hw/pl011.c
index 91c52cc..9d8c6a3 100644
--- a/hw/pl011.c
+++ b/hw/pl011.c
@@ -78,6 +78,7 @@ static uint32_t pl011_read(void *opaque, target_phys_addr_t offset)
if (s->read_count == s->read_trigger - 1)
s->int_level &= ~ PL011_INT_RX;
pl011_update(s);
+ qemu_chr_accept_input(s->chr);
return c;
case 1: /* UARTCR */
return 0;