# HG changeset patch # User Derek Murray # Node ID 1767dc17afd11572b70a920091818e22864acfcc # Parent dd0989523d1700825a9feea3895811cec3c41bfa Added domctl and sysctl hypercalls to the architecture-specific header files. Also increased the __XEN_INTERFACE_VERSION__ to 0x00030205. Signed-off-by: Derek Murray diff -r dd0989523d17 -r 1767dc17afd1 extras/mini-os/Makefile --- a/extras/mini-os/Makefile Wed Jan 17 16:42:34 2007 +0000 +++ b/extras/mini-os/Makefile Thu Jan 18 15:13:33 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 dd0989523d17 -r 1767dc17afd1 extras/mini-os/include/x86/x86_32/hypercall-x86_32.h --- a/extras/mini-os/include/x86/x86_32/hypercall-x86_32.h Wed Jan 17 16:42:34 2007 +0000 +++ b/extras/mini-os/include/x86/x86_32/hypercall-x86_32.h Thu Jan 18 15:13:33 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 dd0989523d17 -r 1767dc17afd1 extras/mini-os/include/x86/x86_64/hypercall-x86_64.h --- a/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h Wed Jan 17 16:42:34 2007 +0000 +++ b/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h Thu Jan 18 15:13:33 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__ */