aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'extras/mini-os/include/x86/x86_64/hypercall-x86_64.h')
-rw-r--r--extras/mini-os/include/x86/x86_64/hypercall-x86_64.h6
1 files changed, 3 insertions, 3 deletions
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 6a68a10b02..2d2904a218 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
@@ -171,7 +171,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);
}
@@ -235,9 +235,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