ia64/xen-unstable
changeset 13514:ba18f07cb61c
[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>
architecture-specific header files. Also increased the
__XEN_INTERFACE_VERSION__ to 0x00030205.
Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
author | kfraser@localhost.localdomain |
---|---|
date | Fri Jan 19 12:11:52 2007 +0000 (2007-01-19) |
parents | 9b76e8f30c88 |
children | 3157835b1d45 |
files | 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 |
line diff
1.1 --- a/extras/mini-os/Makefile Fri Jan 19 12:03:51 2007 +0000 1.2 +++ b/extras/mini-os/Makefile Fri Jan 19 12:11:52 2007 +0000 1.3 @@ -9,7 +9,7 @@ pae ?= n 1.4 XEN_ROOT = ../.. 1.5 include $(XEN_ROOT)/Config.mk 1.6 1.7 -XEN_INTERFACE_VERSION := 0x00030204 1.8 +XEN_INTERFACE_VERSION := 0x00030205 1.9 export XEN_INTERFACE_VERSION 1.10 1.11 # Set TARGET_ARCH
2.1 --- a/extras/mini-os/include/x86/x86_32/hypercall-x86_32.h Fri Jan 19 12:03:51 2007 +0000 2.2 +++ b/extras/mini-os/include/x86/x86_32/hypercall-x86_32.h Fri Jan 19 12:11:52 2007 +0000 2.3 @@ -305,6 +305,20 @@ HYPERVISOR_nmi_op( 2.4 return _hypercall2(int, nmi_op, op, arg); 2.5 } 2.6 2.7 +static inline int 2.8 +HYPERVISOR_sysctl( 2.9 + unsigned long op) 2.10 +{ 2.11 + return _hypercall1(int, sysctl, op); 2.12 +} 2.13 + 2.14 +static inline int 2.15 +HYPERVISOR_domctl( 2.16 + unsigned long op) 2.17 +{ 2.18 + return _hypercall1(int, domctl, op); 2.19 +} 2.20 + 2.21 #endif /* __HYPERCALL_X86_32_H__ */ 2.22 2.23 /*
3.1 --- a/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h Fri Jan 19 12:03:51 2007 +0000 3.2 +++ b/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h Fri Jan 19 12:11:52 2007 +0000 3.3 @@ -305,6 +305,20 @@ HYPERVISOR_nmi_op( 3.4 return _hypercall2(int, nmi_op, op, arg); 3.5 } 3.6 3.7 +static inline int 3.8 +HYPERVISOR_sysctl( 3.9 + unsigned long op) 3.10 +{ 3.11 + return _hypercall1(int, sysctl, op); 3.12 +} 3.13 + 3.14 +static inline int 3.15 +HYPERVISOR_domctl( 3.16 + unsigned long op) 3.17 +{ 3.18 + return _hypercall1(int, domctl, op); 3.19 +} 3.20 + 3.21 #endif /* __HYPERCALL_X86_64_H__ */ 3.22 3.23 /*