catch up with amd64: add hvm_op hypercall
This commit is contained in:
parent
397d181874
commit
b72e8c4339
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hypercalls.h,v 1.4 2008/08/25 09:21:45 cegger Exp $ */
|
||||
/* $NetBSD: hypercalls.h,v 1.5 2008/10/21 22:35:25 cegger Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006 Manuel Bouyer.
|
||||
@ -200,6 +200,18 @@ HYPERVISOR_machine_check(struct xen_mc *mc)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __inline int
|
||||
HYPERVISOR_hvm_op(int cmd, void *arg)
|
||||
{
|
||||
int ret;
|
||||
unsigned long ign1, ign2;
|
||||
|
||||
_hypercall(__HYPERVISOR_hvm_op, _harg("1" (cmd), "2" (arg)),
|
||||
_harg("=a" (ret), "=b" (ign1), "=c" (ign2)));
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
static __inline int
|
||||
HYPERVISOR_mmu_update(mmu_update_t *req, int count, int *success_count,
|
||||
domid_t domid)
|
||||
|
Loading…
Reference in New Issue
Block a user