aboutsummaryrefslogtreecommitdiff
path: root/hw/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/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/serial.c')
-rw-r--r--hw/serial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/serial.c b/hw/serial.c
index c5d9db5fa2..b1bd0ff36c 100644
--- a/hw/serial.c
+++ b/hw/serial.c
@@ -223,6 +223,7 @@ static uint32_t serial_ioport_read(void *opaque, uint32_t addr)
ret = s->rbr;
s->lsr &= ~(UART_LSR_DR | UART_LSR_BI);
serial_update_irq(s);
+ qemu_chr_accept_input(s->chr);
}
break;
case 1: