mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
OvmfPkg/OvmfXen: Fix XenHypercallSchedOp call in BaseResetShutdownXen
XenHypercallSchedOp wants a pointer as second parameter. Signed-off-by: Teddy Astie <teddy.astie@vates.tech>
This commit is contained in:
parent
ff9bd64b9d
commit
ca0076b945
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ ResetShutdown (
|
|||
XEN_SCHED_SHUTDOWN ShutdownOp = {
|
||||
.Reason = XEN_SHED_SHUTDOWN_POWEROFF,
|
||||
};
|
||||
ReturnCode = XenHypercallSchedOp (XEN_SCHEDOP_SHUTDOWN, ShutdownOp);
|
||||
ReturnCode = XenHypercallSchedOp (XEN_SCHEDOP_SHUTDOWN, &ShutdownOp);
|
||||
ASSERT (ReturnCode == 0);
|
||||
CpuDeadLoop ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue