aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/xen-ops.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-03-17 19:37:18 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-24 17:57:32 -0400
commitee523ca1e456d754d66be6deab910131e4e1dbf8 (patch)
tree346c3bf4f701a07b124af72a3da4577b2e5dcb3b /arch/x86/xen/xen-ops.h
parente2a81baf6604a2e08e10c7405b0349106f77c8af (diff)
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>
Diffstat (limited to 'arch/x86/xen/xen-ops.h')
-rw-r--r--arch/x86/xen/xen-ops.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h
index 01d4ff2ce404..22395d20dd6e 100644
--- a/arch/x86/xen/xen-ops.h
+++ b/arch/x86/xen/xen-ops.h
@@ -2,6 +2,7 @@
2#define XEN_OPS_H 2#define XEN_OPS_H
3 3
4#include <linux/init.h> 4#include <linux/init.h>
5#include <linux/irqreturn.h>
5 6
6/* These are code, but not functions. Defined in entry.S */ 7/* These are code, but not functions. Defined in entry.S */
7extern const char xen_hypervisor_callback[]; 8extern const char xen_hypervisor_callback[];
@@ -29,6 +30,8 @@ unsigned long xen_get_wallclock(void);
29int xen_set_wallclock(unsigned long time); 30int xen_set_wallclock(unsigned long time);
30unsigned long long xen_sched_clock(void); 31unsigned long long xen_sched_clock(void);
31 32
33irqreturn_t xen_debug_interrupt(int irq, void *dev_id);
34
32bool xen_vcpu_stolen(int vcpu); 35bool xen_vcpu_stolen(int vcpu);
33 36
34void xen_mark_init_mm_pinned(void); 37void xen_mark_init_mm_pinned(void);