aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/mach-default
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-08-19 12:53:04 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-08-19 12:53:04 +0100
commitb07b22f961709fc4639b550450caa4681881977d (patch)
tree2ab1a8a5e98be4324a840e832a34705c4ef4b9e4 /xen/include/asm-x86/mach-default
parentd6e849eda168c604261f02c1cf4010cdd7afe2fe (diff)
downloadxen-b07b22f961709fc4639b550450caa4681881977d.tar.gz
xen-b07b22f961709fc4639b550450caa4681881977d.tar.bz2
xen-b07b22f961709fc4639b550450caa4681881977d.zip
x86: Change Xen hypervisor's interrupt infrastructure
from vector-based to IRQ-based. In per-cpu vector environment, vector space changes to multi-demension resource, so vector number is not appropriate to index irq_desc which stands for unique interrupt source. As Linux does, irq number is chosen to index irq_desc. This patch changes vector-based interrupt infrastructure to irq-based one. Mostly, it follows upstream linux's changes, and some parts are adapted for Xen. Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Diffstat (limited to 'xen/include/asm-x86/mach-default')
-rw-r--r--xen/include/asm-x86/mach-default/irq_vectors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/asm-x86/mach-default/irq_vectors.h b/xen/include/asm-x86/mach-default/irq_vectors.h
index 30c3f89daf..7ca3312def 100644
--- a/xen/include/asm-x86/mach-default/irq_vectors.h
+++ b/xen/include/asm-x86/mach-default/irq_vectors.h
@@ -23,6 +23,7 @@
#define LAST_LEGACY_VECTOR 0xef
#define HYPERCALL_VECTOR 0x82
+#define LEGACY_SYSCALL_VECTOR 0x80
/* Dynamically-allocated vectors available to any driver. */
#define FIRST_DYNAMIC_VECTOR 0x20