qemu-e2k/include/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.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
cadence_uart.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
digic-uart.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
escc.h char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
imx_serial.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
lm32_juart.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
pl011.h char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
serial.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
stm32f2xx_usart.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
xilinx_uartlite.h char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00