[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [MINIOS] Added domctl and sysctl hypercalls to the



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1169208712 0
# Node ID ba18f07cb61c48a68782c8536dbdc2bb33a339ff
# Parent  9b76e8f30c88548134587dd98a1172ab82ffb659
[MINIOS] Added domctl and sysctl hypercalls to the
architecture-specific header files. Also increased the
__XEN_INTERFACE_VERSION__ to 0x00030205.

Signed-off-by: Derek Murray <Derek.Murray@xxxxxxxxxxxx>
---
 extras/mini-os/Makefile                              |    2 +-
 extras/mini-os/include/x86/x86_32/hypercall-x86_32.h |   14 ++++++++++++++
 extras/mini-os/include/x86/x86_64/hypercall-x86_64.h |   14 ++++++++++++++
 3 files changed, 29 insertions(+), 1 deletion(-)

diff -r 9b76e8f30c88 -r ba18f07cb61c extras/mini-os/Makefile
--- a/extras/mini-os/Makefile   Fri Jan 19 12:03:51 2007 +0000
+++ b/extras/mini-os/Makefile   Fri Jan 19 12:11:52 2007 +0000
@@ -9,7 +9,7 @@ XEN_ROOT = ../..
 XEN_ROOT = ../..
 include $(XEN_ROOT)/Config.mk
 
-XEN_INTERFACE_VERSION := 0x00030204
+XEN_INTERFACE_VERSION := 0x00030205
 export XEN_INTERFACE_VERSION
 
 # Set TARGET_ARCH
diff -r 9b76e8f30c88 -r ba18f07cb61c 
extras/mini-os/include/x86/x86_32/hypercall-x86_32.h
--- a/extras/mini-os/include/x86/x86_32/hypercall-x86_32.h      Fri Jan 19 
12:03:51 2007 +0000
+++ b/extras/mini-os/include/x86/x86_32/hypercall-x86_32.h      Fri Jan 19 
12:11:52 2007 +0000
@@ -303,6 +303,20 @@ HYPERVISOR_nmi_op(
        unsigned long arg)
 {
        return _hypercall2(int, nmi_op, op, arg);
+}
+
+static inline int
+HYPERVISOR_sysctl(
+       unsigned long op)
+{
+       return _hypercall1(int, sysctl, op);
+}
+
+static inline int
+HYPERVISOR_domctl(
+       unsigned long op)
+{
+       return _hypercall1(int, domctl, op);
 }
 
 #endif /* __HYPERCALL_X86_32_H__ */
diff -r 9b76e8f30c88 -r ba18f07cb61c 
extras/mini-os/include/x86/x86_64/hypercall-x86_64.h
--- a/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h      Fri Jan 19 
12:03:51 2007 +0000
+++ b/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h      Fri Jan 19 
12:11:52 2007 +0000
@@ -303,6 +303,20 @@ HYPERVISOR_nmi_op(
        unsigned long arg)
 {
        return _hypercall2(int, nmi_op, op, arg);
+}
+
+static inline int
+HYPERVISOR_sysctl(
+       unsigned long op)
+{
+       return _hypercall1(int, sysctl, op);
+}
+
+static inline int
+HYPERVISOR_domctl(
+       unsigned long op)
+{
+       return _hypercall1(int, domctl, op);
 }
 
 #endif /* __HYPERCALL_X86_64_H__ */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.