ia64/xen-unstable

changeset 9887:3726c0afc5af

Allow for arch specific virq definitions.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Apr 28 14:27:38 2006 +0100 (2006-04-28)
parents 73435820f513
children 59161a85a281
files xen/include/public/arch-ia64.h xen/include/public/xen.h
line diff
     1.1 --- a/xen/include/public/arch-ia64.h	Fri Apr 28 14:13:56 2006 +0100
     1.2 +++ b/xen/include/public/arch-ia64.h	Fri Apr 28 14:27:38 2006 +0100
     1.3 @@ -28,6 +28,9 @@ DEFINE_XEN_GUEST_HANDLE(long);
     1.4  DEFINE_XEN_GUEST_HANDLE(void);
     1.5  #endif
     1.6  
     1.7 +/* Arch specific VIRQs definition */
     1.8 +#define VIRQ_ITC        VIRQ_ARCH_0 /* V. Virtual itc timer */
     1.9 +
    1.10  /* Maximum number of virtual CPUs in multi-processor guests. */
    1.11  /* WARNING: before changing this, check that shared_info fits on a page */
    1.12  #define MAX_VIRT_CPUS 64
     2.1 --- a/xen/include/public/xen.h	Fri Apr 28 14:13:56 2006 +0100
     2.2 +++ b/xen/include/public/xen.h	Fri Apr 28 14:27:38 2006 +0100
     2.3 @@ -80,7 +80,18 @@
     2.4  #define VIRQ_TBUF       4  /* G. (DOM0) Trace buffer has records available.  */
     2.5  #define VIRQ_DEBUGGER   6  /* G. (DOM0) A domain has paused for debugging.   */
     2.6  #define VIRQ_XENOPROF   7  /* V. XenOprofile interrupt: new sample available */
     2.7 -#define NR_VIRQS        8
     2.8 +
     2.9 +/* Architecture-specific VIRQ definitions. */
    2.10 +#define VIRQ_ARCH_0    16
    2.11 +#define VIRQ_ARCH_1    17
    2.12 +#define VIRQ_ARCH_2    18
    2.13 +#define VIRQ_ARCH_3    19
    2.14 +#define VIRQ_ARCH_4    20
    2.15 +#define VIRQ_ARCH_5    21
    2.16 +#define VIRQ_ARCH_6    22
    2.17 +#define VIRQ_ARCH_7    23
    2.18 +
    2.19 +#define NR_VIRQS       24
    2.20  
    2.21  /*
    2.22   * MMU-UPDATE REQUESTS