diff options
author | Andreas Färber <afaerber@suse.de> | 2012-03-14 01:38:23 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-03-14 22:20:26 +0100 |
commit | e2684c0b581f2742aa52edc8cd9be255032f9247 (patch) | |
tree | eef40085cd59e1c9be4f2b12986a2bf6d77d0efa /hw/spapr.h | |
parent | 61c56c8c862b8be9cb71faf74fcd990b3624aa41 (diff) |
ppc hw/: Don't use CPUState
Scripted conversion:
for file in hw/ppc*.[hc] hw/mpc8544_guts.c hw/spapr*.[hc] hw/virtex_ml507.c hw/xics.c; do
sed -i "s/CPUState/CPUPPCState/g" $file
done
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/spapr.h')
-rw-r--r-- | hw/spapr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/spapr.h b/hw/spapr.h index e946a3433e..a41641fdde 100644 --- a/hw/spapr.h +++ b/hw/spapr.h @@ -278,12 +278,12 @@ extern sPAPREnvironment *spapr; do { } while (0) #endif -typedef target_ulong (*spapr_hcall_fn)(CPUState *env, sPAPREnvironment *spapr, +typedef target_ulong (*spapr_hcall_fn)(CPUPPCState *env, sPAPREnvironment *spapr, target_ulong opcode, target_ulong *args); void spapr_register_hypercall(target_ulong opcode, spapr_hcall_fn fn); -target_ulong spapr_hypercall(CPUState *env, target_ulong opcode, +target_ulong spapr_hypercall(CPUPPCState *env, target_ulong opcode, target_ulong *args); qemu_irq spapr_allocate_irq(uint32_t hint, uint32_t *irq_num); |