diff options
author | Andreas Färber <afaerber@suse.de> | 2012-03-14 01:38:21 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-03-14 22:20:24 +0100 |
commit | 4d5712f19b464cce8a3fdfad055f3d5833bd0d08 (patch) | |
tree | 37a2b372ec637de443ef209586c6517863eb373e /target-alpha/op_helper.c | |
parent | b98e9ca8bb38c4a80af458dd16c906f36ce50112 (diff) |
target-alpha: Don't overuse CPUState
Scripted conversion:
sed -i "s/CPUState/CPUAlphaState/g" target-alpha/*.[hc]
sed -i "s/#define CPUAlphaState/#define CPUState/" target-alpha/cpu.h
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-alpha/op_helper.c')
-rw-r--r-- | target-alpha/op_helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c index cc102dbd63..c77f009b79 100644 --- a/target-alpha/op_helper.c +++ b/target-alpha/op_helper.c @@ -1329,7 +1329,7 @@ static void QEMU_NORETURN do_unaligned_access(target_ulong addr, int is_write, helper_excp(EXCP_UNALIGN, 0); } -void QEMU_NORETURN cpu_unassigned_access(CPUState *env1, +void QEMU_NORETURN cpu_unassigned_access(CPUAlphaState *env1, target_phys_addr_t addr, int is_write, int is_exec, int unused, int size) { @@ -1360,10 +1360,10 @@ void QEMU_NORETURN cpu_unassigned_access(CPUState *env1, NULL, it means that the function was called in C code (i.e. not from generated code or from helper.c) */ /* XXX: fix it to restore all registers */ -void tlb_fill(CPUState *env1, target_ulong addr, int is_write, int mmu_idx, +void tlb_fill(CPUAlphaState *env1, target_ulong addr, int is_write, int mmu_idx, void *retaddr) { - CPUState *saved_env; + CPUAlphaState *saved_env; int ret; saved_env = env; |