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> |
||
|---|---|---|
| .. | ||
| bcm2835_aux.h | ||
| cadence_uart.h | ||
| digic-uart.h | ||
| escc.h | ||
| imx_serial.h | ||
| lm32_juart.h | ||
| pl011.h | ||
| serial.h | ||
| stm32f2xx_usart.h | ||
| xilinx_uartlite.h | ||