projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44ac582
)
lm32_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/lm32_uart.c
patch
|
blob
|
history
diff --git
a/hw/lm32_uart.c
b/hw/lm32_uart.c
index
02f6f89
..
32bc37a
100644
(file)
--- a/
hw/lm32_uart.c
+++ b/
hw/lm32_uart.c
@@
-137,6
+137,7
@@
static uint64_t uart_read(void *opaque, hwaddr addr,
r = s->regs[R_RXTX];
s->regs[R_LSR] &= ~LSR_DR;
uart_update_irq(s);
+ qemu_chr_accept_input(s->chr);
break;
case R_IIR:
case R_LSR: