aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/x86/x86_32/hypercall-x86_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'extras/mini-os/include/x86/x86_32/hypercall-x86_32.h')
-rw-r--r--extras/mini-os/include/x86/x86_32/hypercall-x86_32.h6
1 files changed, 3 insertions, 3 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 6556c4f7e2..5f8b51f872 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
@@ -167,7 +167,7 @@ HYPERVISOR_fpu_taskswitch(
static inline int
HYPERVISOR_sched_op(
- int cmd, unsigned long arg)
+ int cmd, void *arg)
{
return _hypercall2(int, sched_op, cmd, arg);
}
@@ -238,9 +238,9 @@ HYPERVISOR_update_va_mapping(
static inline int
HYPERVISOR_event_channel_op(
- void *op)
+ int cmd, void *op)
{
- return _hypercall1(int, event_channel_op, op);
+ return _hypercall2(int, event_channel_op, cmd, op);
}
static inline int