xen: implement a debug-interrupt handler

Xen supports the notion of a debug interrupt which can be triggered
from the console.  For now this is implemented to show pending events,
masks and each CPU's pending event set.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Jeremy Fitzhardinge
2008-03-17 16:37:18 -07:00
committed by Ingo Molnar
parent e2a81baf66
commit ee523ca1e4
3 changed files with 64 additions and 5 deletions

View File

@ -2,6 +2,7 @@
#define XEN_OPS_H
#include <linux/init.h>
#include <linux/irqreturn.h>
/* These are code, but not functions. Defined in entry.S */
extern const char xen_hypervisor_callback[];
@ -29,6 +30,8 @@ unsigned long xen_get_wallclock(void);
int xen_set_wallclock(unsigned long time);
unsigned long long xen_sched_clock(void);
irqreturn_t xen_debug_interrupt(int irq, void *dev_id);
bool xen_vcpu_stolen(int vcpu);
void xen_mark_init_mm_pinned(void);