[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [HVM] Add stubs to Linux for the new hvm_op hypercall.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Node ID 905ff6e616cc667a754d52c3017d8b82cc61a26d # Parent 922931ed15aee271726e6d74ab23c694916201db [HVM] Add stubs to Linux for the new hvm_op hypercall. Signed-off-by: Steven Smith <ssmith@xxxxxxxxxxxxx> --- linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h | 7 +++++++ linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h | 7 +++++++ 2 files changed, 14 insertions(+) diff -r 922931ed15ae -r 905ff6e616cc linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h Mon Aug 14 11:32:24 2006 +0100 +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h Mon Aug 14 11:33:50 2006 +0100 @@ -354,6 +354,13 @@ HYPERVISOR_nmi_op( return _hypercall2(int, nmi_op, op, arg); } +static inline unsigned long +HYPERVISOR_hvm_op( + int op, void *arg) +{ + return _hypercall2(unsigned long, hvm_op, op, arg); +} + static inline int HYPERVISOR_callback_op( int cmd, void *arg) diff -r 922931ed15ae -r 905ff6e616cc linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h --- a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h Mon Aug 14 11:32:24 2006 +0100 +++ b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h Mon Aug 14 11:33:50 2006 +0100 @@ -355,6 +355,13 @@ HYPERVISOR_nmi_op( return _hypercall2(int, nmi_op, op, arg); } +static inline unsigned long +HYPERVISOR_hvm_op( + int op, void *arg) +{ + return _hypercall2(unsigned long, hvm_op, op, arg); +} + static inline int HYPERVISOR_callback_op( int cmd, void *arg) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |