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:25 +0100 |
commit | eb23b556aa57aca4c0a822236c4baf96ae2ac216 (patch) | |
tree | 57a2cc1a6169f0c4aaa677032b8a5bc3258116c4 /target-unicore32/op_helper.c | |
parent | c5f9864e892c473ee3b2cfe080c0def229dac2a7 (diff) |
target-unicore32: Don't overuse CPUState
Scripted conversion:
sed -i "s/CPUState/CPUUniCore32State/g" target-unicore32/*.[hc]
sed -i "s/#define CPUUniCore32State/#define CPUState/" target-unicore32/cpu.h
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-unicore32/op_helper.c')
-rw-r--r-- | target-unicore32/op_helper.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target-unicore32/op_helper.c b/target-unicore32/op_helper.c index 6cf5255b26..638a02097d 100644 --- a/target-unicore32/op_helper.c +++ b/target-unicore32/op_helper.c @@ -28,9 +28,9 @@ static target_ulong asr_read(void) (env->CF << 29) | ((env->VF & 0x80000000) >> 3); } -target_ulong cpu_asr_read(CPUState *env1) +target_ulong cpu_asr_read(CPUUniCore32State *env1) { - CPUState *saved_env; + CPUUniCore32State *saved_env; target_ulong ret; saved_env = env; @@ -61,9 +61,9 @@ static void asr_write(target_ulong val, target_ulong mask) env->uncached_asr = (env->uncached_asr & ~mask) | (val & mask); } -void cpu_asr_write(CPUState *env1, target_ulong val, target_ulong mask) +void cpu_asr_write(CPUUniCore32State *env1, target_ulong val, target_ulong mask) { - CPUState *saved_env; + CPUUniCore32State *saved_env; saved_env = env; env = env1; |