[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Allow for arch specific virq definitions.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 3726c0afc5af3d0812ff95dcdd688f0c45af0a14
# Parent  73435820f513c0b1cced6dd794deb2ee4381c90a
Allow for arch specific virq definitions.

Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>

diff -r 73435820f513 -r 3726c0afc5af xen/include/public/arch-ia64.h
--- a/xen/include/public/arch-ia64.h    Fri Apr 28 14:13:56 2006 +0100
+++ b/xen/include/public/arch-ia64.h    Fri Apr 28 14:27:38 2006 +0100
@@ -27,6 +27,9 @@ DEFINE_XEN_GUEST_HANDLE(long);
 DEFINE_XEN_GUEST_HANDLE(long);
 DEFINE_XEN_GUEST_HANDLE(void);
 #endif
+
+/* Arch specific VIRQs definition */
+#define VIRQ_ITC        VIRQ_ARCH_0 /* V. Virtual itc timer */
 
 /* Maximum number of virtual CPUs in multi-processor guests. */
 /* WARNING: before changing this, check that shared_info fits on a page */
diff -r 73435820f513 -r 3726c0afc5af xen/include/public/xen.h
--- a/xen/include/public/xen.h  Fri Apr 28 14:13:56 2006 +0100
+++ b/xen/include/public/xen.h  Fri Apr 28 14:27:38 2006 +0100
@@ -80,7 +80,18 @@
 #define VIRQ_TBUF       4  /* G. (DOM0) Trace buffer has records available.  */
 #define VIRQ_DEBUGGER   6  /* G. (DOM0) A domain has paused for debugging.   */
 #define VIRQ_XENOPROF   7  /* V. XenOprofile interrupt: new sample available */
-#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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.