qemu/hw/char
Marc-André Lureau 4d43a603c7 char: move CharBackend handling in char-fe unit
Move all the frontend struct and methods to a seperate unit. This avoids
accidentally mixing backend and frontend calls, and helps with readabilty.

Make qemu_chr_replay() a macro shared by both char and char-fe.

Export qemu_chr_write(), and use a macro for qemu_chr_write_all()

(nb: yes, CharBackend is for char frontend :)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2017-06-02 11:33:53 +04:00
..
bcm2835_aux.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
cadence_uart.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
debugcon.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
digic-uart.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
escc.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
etraxfs_ser.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
exynos4210_uart.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
grlib_apbuart.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
imx_serial.c Remove/replace sysemu/char.h inclusion 2017-06-02 11:33:52 +04:00
ipoctal232.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
lm32_juart.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
lm32_uart.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
Makefile.objs s390x/3270: Mark non-migratable and enable the device 2017-05-04 10:34:37 +02:00
mcf_uart.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
milkymist-uart.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
omap_uart.c chardev: move headers to include/chardev 2017-06-02 11:33:52 +04:00
parallel.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
pl011.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
sclpconsole-lm.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
sclpconsole.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
serial-isa.c char: rename CharDriverState Chardev 2017-01-27 18:07:59 +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 chardev: serial & parallel declaration to own headers 2017-06-02 11:33:52 +04:00
sh_serial.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
spapr_vty.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
stm32f2xx_usart.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
terminal3270.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
trace-events hw/char/pl011: Add trace events 2016-10-17 19:32:44 +01:00
virtio-console.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
virtio-serial-bus.c virtio-serial-bus: Delete timer from list before free it 2017-03-16 01:46:42 +02:00
xen_console.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
xilinx_uartlite.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00