[MINIOS] Added domctl and sysctl hypercalls to the
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 19 Jan 2007 12:11:52 +0000 (12:11 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 19 Jan 2007 12:11:52 +0000 (12:11 +0000)
architecture-specific header files. Also increased the
__XEN_INTERFACE_VERSION__ to 0x00030205.

Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
extras/mini-os/Makefile
extras/mini-os/include/x86/x86_32/hypercall-x86_32.h
extras/mini-os/include/x86/x86_64/hypercall-x86_64.h

index ad4ff8d9108e980ea2b756c4fab1311a8faf37e7..df313e48d5afba3a247ef62fcb2ddaa8339e302d 100644 (file)
@@ -9,7 +9,7 @@ pae ?= n
 XEN_ROOT = ../..
 include $(XEN_ROOT)/Config.mk
 
-XEN_INTERFACE_VERSION := 0x00030204
+XEN_INTERFACE_VERSION := 0x00030205
 export XEN_INTERFACE_VERSION
 
 # Set TARGET_ARCH
index 9c41c946b2513f4b41738bfa3cf90a77d55c9a35..fbaa7ba16ebdf6c1e1344fcc921ac7581eba4be0 100644 (file)
@@ -305,6 +305,20 @@ HYPERVISOR_nmi_op(
        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__ */
 
 /*
index 3a4aa049e80285750a65713ec7582805ad6902a1..179b776ed52703c833cc85fa9ae5f22d45b5af87 100644 (file)
@@ -305,6 +305,20 @@ HYPERVISOR_nmi_op(
        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__ */
 
 /*