summaryrefslogtreecommitdiffstats
path: root/hw/spapr.h
diff options
context:
space:
mode:
authorAndreas Färber2012-05-03 06:13:14 +0200
committerAndreas Färber2012-10-31 01:02:45 +0100
commitaa100fa4c9901c6a88d24f48d485dbe0147b317d (patch)
tree21dc0254c23e767ad6b1a58fa0859a50a6240403 /hw/spapr.h
parenttarget-ppc: Pass PowerPCCPU to cpu_ppc_hypercall (diff)
downloadqemu-aa100fa4c9901c6a88d24f48d485dbe0147b317d.tar.gz
qemu-aa100fa4c9901c6a88d24f48d485dbe0147b317d.tar.xz
qemu-aa100fa4c9901c6a88d24f48d485dbe0147b317d.zip
spapr: Pass PowerPCCPU to spapr_hypercall()
Needed for changing the hypercall handlers' argument type to PowerPCCPU. 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 51c709ea10..f11028de9a 100644
--- a/hw/spapr.h
+++ b/hw/spapr.h
@@ -291,7 +291,7 @@ typedef target_ulong (*spapr_hcall_fn)(CPUPPCState *env, sPAPREnvironment *spapr
target_ulong *args);
void spapr_register_hypercall(target_ulong opcode, spapr_hcall_fn fn);
-target_ulong spapr_hypercall(CPUPPCState *env, target_ulong opcode,
+target_ulong spapr_hypercall(PowerPCCPU *cpu, target_ulong opcode,
target_ulong *args);
int spapr_allocate_irq(int hint, bool lsi);