summaryrefslogtreecommitdiffstats
path: root/hw/spapr.h
diff options
context:
space:
mode:
authorAndreas Färber2012-05-03 06:23:01 +0200
committerAndreas Färber2012-10-31 01:02:46 +0100
commitb13ce26d3e8c6682044ae84920f2417b30ce356b (patch)
tree18b7bc8cf52368a7852d0bfb255f41fe3eb1f005 /hw/spapr.h
parentspapr: Pass PowerPCCPU to spapr_hypercall() (diff)
downloadqemu-b13ce26d3e8c6682044ae84920f2417b30ce356b.tar.gz
qemu-b13ce26d3e8c6682044ae84920f2417b30ce356b.tar.xz
qemu-b13ce26d3e8c6682044ae84920f2417b30ce356b.zip
spapr: Pass PowerPCCPU to hypercalls
Needed for changing cpu_has_work() argument type to CPUState, used in h_cede(). Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/spapr.h')
-rw-r--r--hw/spapr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spapr.h b/hw/spapr.h
index f11028de9a..efe7f5758f 100644
--- a/hw/spapr.h
+++ b/hw/spapr.h
@@ -286,7 +286,7 @@ extern sPAPREnvironment *spapr;
do { } while (0)
#endif
-typedef target_ulong (*spapr_hcall_fn)(CPUPPCState *env, sPAPREnvironment *spapr,
+typedef target_ulong (*spapr_hcall_fn)(PowerPCCPU *cpu, sPAPREnvironment *spapr,
target_ulong opcode,
target_ulong *args);