Re: [PATCH 16/25] xen: Use the hvc console infrastructure for Xen console

Olof Johansson
2007-04-24T01:21:10Z

On Mon, Apr 23, 2007 at 02:56:54PM -0700, Jeremy Fitzhardinge wrote:
> Implement a Xen back-end for hvc console.
>
> From: Gerd Hoffmann <kraxel@suse.de>
> Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
>
> ---
> arch/i386/xen/Kconfig | 1
> arch/i386/xen/events.c | 3 -
> drivers/Makefile | 3 +
> drivers/xen/Makefile | 1
> drivers/xen/hvc-console.c | 134 +++++++++++++++++++++++++++++++++++++++++++++
> include/xen/events.h | 1
> 6 files changed, 142 insertions(+), 1 deletion(-)

If you move the driver to drivers/char/hvc_xen.c instead, you won't have to do...

> +#include "../char/hvc_console.h"

...this.

Other single-platform backend hvc drivers are under drivers/char already.

-Olof