aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/x86
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-19 12:11:52 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-19 12:11:52 +0000
commita352d8d69f9d301189d26cff7cd34ddbd663c490 (patch)
treee486b105cb175866466bb9344e1994eb39f13b0d /extras/mini-os/include/x86
parent7d0281ec5461e34a42feb91c1e698918474dba90 (diff)
downloadxen-a352d8d69f9d301189d26cff7cd34ddbd663c490.tar.gz
xen-a352d8d69f9d301189d26cff7cd34ddbd663c490.tar.bz2
xen-a352d8d69f9d301189d26cff7cd34ddbd663c490.zip
[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@cl.cam.ac.uk>
Diffstat (limited to 'extras/mini-os/include/x86')
-rw-r--r--extras/mini-os/include/x86/x86_32/hypercall-x86_32.h14
-rw-r--r--extras/mini-os/include/x86/x86_64/hypercall-x86_64.h14
2 files changed, 28 insertions, 0 deletions
diff --git a/extras/mini-os/include/x86/x86_32/hypercall-x86_32.h b/extras/mini-os/include/x86/x86_32/hypercall-x86_32.h
index 9c41c946b2..fbaa7ba16e 100644
--- a/extras/mini-os/include/x86/x86_32/hypercall-x86_32.h
+++ b/extras/mini-os/include/x86/x86_32/hypercall-x86_32.h
@@ -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__ */
/*
diff --git a/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h b/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h
index 3a4aa049e8..179b776ed5 100644
--- a/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h
+++ b/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h
@@ -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__ */
/*