diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-19 12:11:52 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-19 12:11:52 +0000 |
commit | a352d8d69f9d301189d26cff7cd34ddbd663c490 (patch) | |
tree | e486b105cb175866466bb9344e1994eb39f13b0d /extras/mini-os/include | |
parent | 7d0281ec5461e34a42feb91c1e698918474dba90 (diff) | |
download | xen-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')
-rw-r--r-- | extras/mini-os/include/x86/x86_32/hypercall-x86_32.h | 14 | ||||
-rw-r--r-- | extras/mini-os/include/x86/x86_64/hypercall-x86_64.h | 14 |
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__ */ /* |