target-ppc: Convert mmu-hash{32,64}.[ch] from CPUPPCState to PowerPCCPU
commit7ef23068bfa413605de8ae7e3e654d9198369fa8
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 14 Jan 2016 04:33:27 +0000 (14 15:33 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 30 Jan 2016 12:37:38 +0000 (30 23:37 +1100)
tree55e45b2919d7405a42f1e1b5aae278cf6019762c
parent512fe19330f60ebcb79a3f440411d3a1c7f6e11a
target-ppc: Convert mmu-hash{32,64}.[ch] from CPUPPCState to PowerPCCPU

Like a lot of places these files include a mixture of functions taking
both the older CPUPPCState *env and newer PowerPCCPU *cpu.  Move a step
closer to cleaning this up by standardizing on PowerPCCPU, except for the
helper_* functions which are called with the CPUPPCState * from tcg.

Callers and some related functions are updated as well, the boundaries of
what's changed here are a bit arbitrary.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_hcall.c
target-ppc/kvm.c
target-ppc/mmu-hash32.c
target-ppc/mmu-hash32.h
target-ppc/mmu-hash64.c
target-ppc/mmu-hash64.h
target-ppc/mmu_helper.c