mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
minios: Correct HYPERVISOR_physdev_op()
A physdev_op is a two argument hypercall, taking a command parameter and an optional pointer to a structure. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> CC: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
1 parent
21b73527fb
commit
3c80caee18
2 files changed
+4
-4
No files matched your search
@@ -255,9 +255,9 @@ HYPERVISOR_console_io(
|
||||
|
||||
static inline int
|
||||
HYPERVISOR_physdev_op(
|
||||
void *physdev_op)
|
||||
int cmd, void *physdev_op)
|
||||
{
|
||||
return _hypercall1(int, physdev_op, physdev_op);
|
||||
return _hypercall2(int, physdev_op, cmd, physdev_op);
|
||||
}
|
||||
|
||||
static inline int
|
||||
|
||||
@@ -256,9 +256,9 @@ HYPERVISOR_console_io(
|
||||
|
||||
static inline int
|
||||
HYPERVISOR_physdev_op(
|
||||
void *physdev_op)
|
||||
int cmd, void *physdev_op)
|
||||
{
|
||||
return _hypercall1(int, physdev_op, physdev_op);
|
||||
return _hypercall2(int, physdev_op, cmd, physdev_op);
|
||||
}
|
||||
|
||||
static inline int
|
||||
|
||||