xenvm: drivers: serial: Implement serial interface to Xen PV console
This commit adds minimal support of Xen hypervisor console via UART-like driver. Implementation allows to use poll_in/poll_out char interface for uart_console.c driver directly to HV console instead of using Xen virtual PL011 UART. Future implementation will support interrupt driven interface on Xen event channels, currently it is under development. Also this commit introduces early console_io Xen interface, which allows to receive printk/stdout messages quickly after start, but requires Xen, built with CONFIG_DEBUG option. Signed-off-by: Dmytro Firsov <dmytro_firsov@epam.com>
This commit is contained in:
parent
c4ab278688
commit
d9a3efb834
13 changed files with 348 additions and 2 deletions
|
@ -45,6 +45,7 @@ zephyr_library_sources_ifdef(CONFIG_UART_RCAR uart_rcar.c)
|
|||
zephyr_library_sources_ifdef(CONFIG_UART_XEC uart_mchp_xec.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_UART_NEORV32 uart_neorv32.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_USART_GD32 usart_gd32.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_UART_XEN_HVC uart_hvc_xen.c)
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_USERSPACE uart_handlers.c)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue