arch: arm/xen: add putc() for debugging
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Thu, 15 Oct 2020 04:25:14 +0000 (13:25 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2020 15:26:14 +0000 (11:26 -0400)
commit3a51b2a2c3cedc0d2a9ce981b8e00ab8cefcb6b7
tree26fa9a221f069691d0364ededd0b39c04b5c2546
parent18426bf02217de2e9bb2b41eaa74d769892c55ef
arch: arm/xen: add putc() for debugging

This new function, xen_debug_putc(), is intended to be used to
enable CONFIG_DEBUG_UART on xen guest.

Please note that the underlying functionality in Xen is available
only when Xen is configured with !NDEBUG but is much simpler than
a generic HYPERVISOR_console_io().

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/xen/hypercall.h