From 73e5716c8967d45b14aa08d315c5b3dda18465c4 Mon Sep 17 00:00:00 2001 From: Andreas Färber Date: Wed, 14 Mar 2012 01:38:22 +0100 Subject: target-sh4: Don't overuse CPUState MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Scripted conversion: sed -i "s/CPUState/CPUSH4State/g" target-sh4/*.[hc] sed -i "s/#define CPUSH4State/#define CPUState/" target-sh4/cpu.h Signed-off-by: Andreas Färber Acked-by: Anthony Liguori --- target-sh4/op_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target-sh4/op_helper.c') diff --git a/target-sh4/op_helper.c b/target-sh4/op_helper.c index b299576651..30f762f514 100644 --- a/target-sh4/op_helper.c +++ b/target-sh4/op_helper.c @@ -55,10 +55,10 @@ static void cpu_restore_state_from_retaddr(void *retaddr) #define SHIFT 3 #include "softmmu_template.h" -void tlb_fill(CPUState *env1, target_ulong addr, int is_write, int mmu_idx, +void tlb_fill(CPUSH4State *env1, target_ulong addr, int is_write, int mmu_idx, void *retaddr) { - CPUState *saved_env; + CPUSH4State *saved_env; int ret; saved_env = env; -- cgit v1.2.3