diff options
author | Andreas Färber <afaerber@suse.de> | 2012-03-14 01:38:22 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-03-14 22:20:25 +0100 |
commit | 1328c2bf21c67d6d4c11421e0ab707cb6ff42f4a (patch) | |
tree | 468c6d14b28fbdc3c5535d6959a22e2f63a186c5 /target-ppc/machine.c | |
parent | 7db13fae2cec51a012ba83e5d6b3483a9c718737 (diff) | |
download | qemu-1328c2bf21c67d6d4c11421e0ab707cb6ff42f4a.zip qemu-1328c2bf21c67d6d4c11421e0ab707cb6ff42f4a.tar.gz qemu-1328c2bf21c67d6d4c11421e0ab707cb6ff42f4a.tar.bz2 |
target-ppc: Don't overuse CPUState
Scripted conversion:
sed -i "s/CPUState/CPUPPCState/g" target-ppc/*.[hc]
sed -i "s/#define CPUPPCState/#define CPUState/" target-ppc/cpu.h
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-ppc/machine.c')
-rw-r--r-- | target-ppc/machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/machine.c b/target-ppc/machine.c index 1c40d43..70e2582 100644 --- a/target-ppc/machine.c +++ b/target-ppc/machine.c @@ -4,7 +4,7 @@ void cpu_save(QEMUFile *f, void *opaque) { - CPUState *env = (CPUState *)opaque; + CPUPPCState *env = (CPUPPCState *)opaque; unsigned int i, j; for (i = 0; i < 32; i++) @@ -91,7 +91,7 @@ void cpu_save(QEMUFile *f, void *opaque) int cpu_load(QEMUFile *f, void *opaque, int version_id) { - CPUState *env = (CPUState *)opaque; + CPUPPCState *env = (CPUPPCState *)opaque; unsigned int i, j; target_ulong sdr1; |