ia64/xen-unstable

changeset 10220:86062ecef294

[ACM] Add a hypervisor call macro to the linux kernel; it
completes the alignment of the ACM call interface with the other Xen
hypervisor call interfaces. This macro is used to call from the a guest
kernel directly into the ACM hypervisor module.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
Signed-off by: Bryan D. Payne <bdpayne@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed May 31 07:23:54 2006 +0100 (2006-05-31)
parents afabaa39be52
children ec1e371ec320
files linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h linux-2.6-xen-sparse/include/asm-ia64/hypercall.h linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h	Wed May 31 07:20:36 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h	Wed May 31 07:23:54 2006 +0100
     1.3 @@ -260,6 +260,13 @@ HYPERVISOR_event_channel_op(
     1.4  }
     1.5  
     1.6  static inline int
     1.7 +HYPERVISOR_acm_op(
     1.8 +	int cmd, void *arg)
     1.9 +{
    1.10 +	return _hypercall2(int, acm_op, cmd, arg);
    1.11 +}
    1.12 +
    1.13 +static inline int
    1.14  HYPERVISOR_xen_version(
    1.15  	int cmd, void *arg)
    1.16  {
     2.1 --- a/linux-2.6-xen-sparse/include/asm-ia64/hypercall.h	Wed May 31 07:20:36 2006 +0100
     2.2 +++ b/linux-2.6-xen-sparse/include/asm-ia64/hypercall.h	Wed May 31 07:23:54 2006 +0100
     2.3 @@ -247,6 +247,13 @@ HYPERVISOR_event_channel_op(
     2.4  }
     2.5  
     2.6  static inline int
     2.7 +HYPERVISOR_acm_op(
     2.8 +	unsigned int cmd, void *arg)
     2.9 +{
    2.10 +	return = _hypercall2(int, acm_op, cmd, arg);
    2.11 +}
    2.12 +
    2.13 +static inline int
    2.14  HYPERVISOR_xen_version(
    2.15      int cmd, void *arg)
    2.16  {
     3.1 --- a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h	Wed May 31 07:20:36 2006 +0100
     3.2 +++ b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h	Wed May 31 07:23:54 2006 +0100
     3.3 @@ -258,6 +258,13 @@ HYPERVISOR_event_channel_op(
     3.4  }
     3.5  
     3.6  static inline int
     3.7 +HYPERVISOR_acm_op(
     3.8 +	int cmd, void *arg)
     3.9 +{
    3.10 +	return = _hypercall2(int, acm_op, cmd, arg);
    3.11 +}
    3.12 +
    3.13 +static inline int
    3.14  HYPERVISOR_xen_version(
    3.15  	int cmd, void *arg)
    3.16  {