aboutsummaryrefslogtreecommitdiff
path: root/hw/mcf_uart.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/mcf_uart.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/mcf_uart.c')
-rw-r--r--hw/mcf_uart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/mcf_uart.c b/hw/mcf_uart.c
index 01973a0..a65cc77 100644
--- a/hw/mcf_uart.c
+++ b/hw/mcf_uart.c
@@ -88,6 +88,7 @@ uint32_t mcf_uart_read(void *opaque, target_phys_addr_t addr)
if (s->fifo_len == 0)
s->sr &= ~MCF_UART_RxRDY;
mcf_uart_update(s);
+ qemu_chr_accept_input(s->chr);
return val;
}
case 0x10: