xen: use the hvc console infrastructure for Xen console

Implement a Xen back-end for hvc console.

* * *
Add early printk support via hvc console, enable using
"earlyprintk=xen" on the kernel command line.

From: Gerd Hoffmann <kraxel@suse.de>
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Jeremy Fitzhardinge
2007-07-17 18:37:06 -07:00
committed by Jeremy Fitzhardinge
parent 8b84ad942b
commit b536b4b962
7 changed files with 182 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ enum ipi_vector {
XEN_NR_IPIS,
};
int bind_evtchn_to_irq(unsigned int evtchn);
int bind_evtchn_to_irqhandler(unsigned int evtchn,
irq_handler_t handler,
unsigned long irqflags, const char *devname,