diff options
author | Andreas Färber | 2012-05-03 06:23:01 +0200 |
---|---|---|
committer | Andreas Färber | 2012-10-31 01:02:46 +0100 |
commit | b13ce26d3e8c6682044ae84920f2417b30ce356b (patch) | |
tree | 18b7bc8cf52368a7852d0bfb255f41fe3eb1f005 /hw/spapr.h | |
parent | spapr: Pass PowerPCCPU to spapr_hypercall() (diff) | |
download | qemu-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.h | 2 |
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); |