cbee50f1df
Clear the interrupt state before reading the input char from the input FIFO. In the current code there is a window between the read to the data register and the write to the the ICR, during which an input char will not cause an interrupt. This fixes the issue by which the serial port input on QEMU freezes when using the emulated pl011 serial port. |
||
---|---|---|
.. | ||
uart_bus_acpi.c | ||
uart_bus_ebus.c | ||
uart_bus_fdt.c | ||
uart_bus_isa.c | ||
uart_bus_pccard.c | ||
uart_bus_pci.c | ||
uart_bus_puc.c | ||
uart_bus_scc.c | ||
uart_bus.h | ||
uart_core.c | ||
uart_cpu_acpi.h | ||
uart_cpu_arm64.c | ||
uart_cpu_fdt.c | ||
uart_cpu_fdt.h | ||
uart_cpu_pc98.c | ||
uart_cpu_powerpc.c | ||
uart_cpu_sparc64.c | ||
uart_cpu_x86.c | ||
uart_cpu.h | ||
uart_dbg.c | ||
uart_dev_imx.c | ||
uart_dev_imx.h | ||
uart_dev_lpc.c | ||
uart_dev_msm.c | ||
uart_dev_msm.h | ||
uart_dev_ns8250.c | ||
uart_dev_ns8250.h | ||
uart_dev_pl011.c | ||
uart_dev_quicc.c | ||
uart_dev_sab82532.c | ||
uart_dev_snps.c | ||
uart_dev_ti8250.c | ||
uart_dev_z8530.c | ||
uart_if.m | ||
uart_kbd_sun_tables.h | ||
uart_kbd_sun.c | ||
uart_kbd_sun.h | ||
uart_ppstypes.h | ||
uart_subr.c | ||
uart_tty.c | ||
uart.h |