qemu-e2k/hw/char
Alistair Francis f6cf41932e cadence_uart: Protect against transmit errors
If qemu_chr_fe_write() returns an error (represented by a negative
number) we should skip incrementing the count and initiating a
memmove().

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 667e5dc534d33338fcfc2471e5aa32fe7cbd13dc.1466546703.git.alistair.francis@xilinx.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-06-27 15:37:32 +01:00
..
Makefile.objs bcm2835_aux: add emulation of BCM2835 AUX (aka UART1) block 2016-03-16 17:42:18 +00:00
bcm2835_aux.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
cadence_uart.c cadence_uart: Protect against transmit errors 2016-06-27 15:37:32 +01:00
debugcon.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
digic-uart.c hw/char: QOM'ify digic-uart model 2016-06-06 16:59:31 +01:00
escc.c hw/char: QOM'ify escc.c (fix) 2016-06-06 18:57:06 +02:00
etraxfs_ser.c hw/char: QOM'ify etraxfs_ser.c 2016-05-29 09:11:10 +02:00
exynos4210_uart.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
grlib_apbuart.c sparc: Clean up includes 2016-01-29 15:07:22 +00:00
imx_serial.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
ipoctal232.c ipack: Update e-mail address 2016-05-18 15:04:27 +03:00
lm32_juart.c hw/char: QOM'ify lm32_juart.c 2016-05-29 09:11:10 +02:00
lm32_uart.c hw/char: QOM'ify lm32_uart.c 2016-05-29 09:11:10 +02:00
mcf_uart.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
milkymist-uart.c milkymist: update specification URLs 2016-06-20 18:12:04 +02:00
omap_uart.c arm devices: Clean up includes 2016-01-29 15:07:25 +00:00
parallel.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
pl011.c hw/char: QOM'ify pl011 model 2016-06-06 16:59:31 +01:00
sclpconsole-lm.c hw/char: QOM'ify sclpconsole-lm.c 2016-05-17 15:50:29 +02:00
sclpconsole.c hw/char: QOM'ify sclpconsole.c 2016-05-17 15:50:29 +02:00
serial-isa.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
serial-pci.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
serial.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
sh_serial.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
spapr_vty.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
stm32f2xx_usart.c hw/char: QOM'ify stm32f2xx_usart model 2016-06-06 16:59:32 +01:00
trace-events trace: split out trace events for hw/char/ directory 2016-06-20 17:22:15 +01:00
virtio-console.c virtio: Clean up includes 2016-01-29 15:07:23 +00:00
virtio-serial-bus.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
xen_console.c os-posix: include sys/mman.h 2016-06-16 18:39:03 +02:00
xilinx_uartlite.c hw/char: QOM'ify xilinx_uartlite model 2016-06-06 16:59:32 +01:00