aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2008-04-02 10:53:51 -0700
committerIngo Molnar <mingo@elte.hu>2008-04-24 23:57:32 +0200
commit2eb6d5eb48fd6aedf5787b30e5c41693e8c91fa3 (patch)
treefa82698996510582c4479ed7ecf122839a98f948 /include/xen
parentxen: definisions which ia64 needs (diff)
downloadlinux-dev-2eb6d5eb48fd6aedf5787b30e5c41693e8c91fa3.tar.xz
linux-dev-2eb6d5eb48fd6aedf5787b30e5c41693e8c91fa3.zip
xen: definitions which ia64/xen needs
Add xen VIRQ numbers defined for arch specific use. ia64/xen domU uses VIRQ_ARCH_0 for virtual itc timer. Although all those constants aren't used yet by ia64 at this moment, add all arch specific VIRQ numbers. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> 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 'include/xen')
-rw-r--r--include/xen/interface/xen.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h
index 87ad143be406..9b018da48cf3 100644
--- a/include/xen/interface/xen.h
+++ b/include/xen/interface/xen.h
@@ -78,8 +78,18 @@
#define VIRQ_CONSOLE 2 /* (DOM0) Bytes received on emergency console. */
#define VIRQ_DOM_EXC 3 /* (DOM0) Exceptional event for some domain. */
#define VIRQ_DEBUGGER 6 /* (DOM0) A domain has paused for debugging. */
-#define NR_VIRQS 8
+/* Architecture-specific VIRQ definitions. */
+#define VIRQ_ARCH_0 16
+#define VIRQ_ARCH_1 17
+#define VIRQ_ARCH_2 18
+#define VIRQ_ARCH_3 19
+#define VIRQ_ARCH_4 20
+#define VIRQ_ARCH_5 21
+#define VIRQ_ARCH_6 22
+#define VIRQ_ARCH_7 23
+
+#define NR_VIRQS 24
/*
* MMU-UPDATE REQUESTS
*