xen/arm: Implement a virtual UART
authorJulien Grall <julien.grall@linaro.org>
Thu, 1 Aug 2013 16:09:29 +0000 (17:09 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 8 Aug 2013 11:55:28 +0000 (12:55 +0100)
commitacc86a712eb1d6ac4cbcb0aad595ab6b98aab71e
treed3702df27e392784696ceff263469be96a2ed663
parent7360db4276ffed96b54bbddb7aff4127fe69f051
xen/arm: Implement a virtual UART

This code is based on the previous vuart0 implementation. Unlike the latter,
it's intend to replace UART stolen by XEN to DOM0 via dtuart=... on its
command line.

It's useful when the kernel is compiled with early printk enabled or for a
single platform. Most of the time, the hardcoded code to handle the UART
will need 2 registers: status and data, the others registers can be
implemented as RAZ/WI.

This commit will also drop support of early printk (based on vexpress pl011)
in the guest.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/arm/Makefile
xen/arch/arm/domain.c
xen/arch/arm/io.c
xen/arch/arm/io.h
xen/arch/arm/vpl011.c [deleted file]
xen/arch/arm/vpl011.h [deleted file]
xen/arch/arm/vuart.c [new file with mode: 0644]
xen/arch/arm/vuart.h [new file with mode: 0644]
xen/include/asm-arm/domain.h