ia64/xen-unstable

changeset 9891:84780e2ea775

Define 8 hypercall numbers for arch-specific purposes.

Signed-off-by: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Signed-off-by: Tian Kevin <kevin.tian@intel.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author kaf24@firebug.cl.cam.ac.uk
date Fri Apr 28 14:38:39 2006 +0100 (2006-04-28)
parents a779d642c22a
children fb3d073b1cdf
files xen/include/asm-x86/config.h xen/include/public/xen.h
line diff
     1.1 --- a/xen/include/asm-x86/config.h	Fri Apr 28 14:35:34 2006 +0100
     1.2 +++ b/xen/include/asm-x86/config.h	Fri Apr 28 14:38:39 2006 +0100
     1.3 @@ -66,7 +66,7 @@
     1.4  #define barrier() __asm__ __volatile__("": : :"memory")
     1.5  
     1.6  /* A power-of-two value greater than or equal to number of hypercalls. */
     1.7 -#define NR_hypercalls 32
     1.8 +#define NR_hypercalls 64
     1.9  
    1.10  #if NR_hypercalls & (NR_hypercalls - 1)
    1.11  #error "NR_hypercalls must be a power-of-two value"
     2.1 --- a/xen/include/public/xen.h	Fri Apr 28 14:35:34 2006 +0100
     2.2 +++ b/xen/include/public/xen.h	Fri Apr 28 14:38:39 2006 +0100
     2.3 @@ -63,6 +63,16 @@
     2.4  #define __HYPERVISOR_callback_op          30
     2.5  #define __HYPERVISOR_xenoprof_op          31
     2.6  
     2.7 +/* Architecture-specific hypercall definitions. */
     2.8 +#define __HYPERVISOR_arch_0               48
     2.9 +#define __HYPERVISOR_arch_1               49
    2.10 +#define __HYPERVISOR_arch_2               50
    2.11 +#define __HYPERVISOR_arch_3               51
    2.12 +#define __HYPERVISOR_arch_4               52
    2.13 +#define __HYPERVISOR_arch_5               53
    2.14 +#define __HYPERVISOR_arch_6               54
    2.15 +#define __HYPERVISOR_arch_7               55
    2.16 +
    2.17  /* 
    2.18   * VIRTUAL INTERRUPTS
    2.19   *