diff options
Diffstat (limited to 'hw/mcf_uart.c')
-rw-r--r-- | hw/mcf_uart.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/mcf_uart.c b/hw/mcf_uart.c index ab0f54f4d..a65cc772c 100644 --- a/hw/mcf_uart.c +++ b/hw/mcf_uart.c @@ -5,7 +5,9 @@ * * This code is licenced under the GPL */ -#include "vl.h" +#include "hw.h" +#include "mcf.h" +#include "qemu-char.h" typedef struct { uint8_t mr[2]; @@ -86,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: |