direct-io.hg
changeset 11079:905ff6e616cc
[HVM] Add stubs to Linux for the new hvm_op hypercall.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Steven Smith <ssmith@xensource.com>
author | kfraser@localhost.localdomain |
---|---|
date | Mon Aug 14 11:33:50 2006 +0100 (2006-08-14) |
parents | 922931ed15ae |
children | 22f278b5fcef |
files | linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/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 Mon Aug 14 11:32:24 2006 +0100 1.2 +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h Mon Aug 14 11:33:50 2006 +0100 1.3 @@ -354,6 +354,13 @@ HYPERVISOR_nmi_op( 1.4 return _hypercall2(int, nmi_op, op, arg); 1.5 } 1.6 1.7 +static inline unsigned long 1.8 +HYPERVISOR_hvm_op( 1.9 + int op, void *arg) 1.10 +{ 1.11 + return _hypercall2(unsigned long, hvm_op, op, arg); 1.12 +} 1.13 + 1.14 static inline int 1.15 HYPERVISOR_callback_op( 1.16 int cmd, void *arg)
2.1 --- a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h Mon Aug 14 11:32:24 2006 +0100 2.2 +++ b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h Mon Aug 14 11:33:50 2006 +0100 2.3 @@ -355,6 +355,13 @@ HYPERVISOR_nmi_op( 2.4 return _hypercall2(int, nmi_op, op, arg); 2.5 } 2.6 2.7 +static inline unsigned long 2.8 +HYPERVISOR_hvm_op( 2.9 + int op, void *arg) 2.10 +{ 2.11 + return _hypercall2(unsigned long, hvm_op, op, arg); 2.12 +} 2.13 + 2.14 static inline int 2.15 HYPERVISOR_callback_op( 2.16 int cmd, void *arg)