summaryrefslogtreecommitdiff
path: root/target-m68k
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2009-08-10 13:37:36 -0700
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-24 08:21:42 -0500
commit6daad4458ca45d6e2f5de37bf51a4119a0e805c2 (patch)
treee3e278afdab1b30143bb51fe4434edeea198c688 /target-m68k
parent778be3995766bc98190c77dd6b4dcacc39b7b477 (diff)
downloadqemu-6daad4458ca45d6e2f5de37bf51a4119a0e805c2.tar.gz
qemu-6daad4458ca45d6e2f5de37bf51a4119a0e805c2.tar.bz2
qemu-6daad4458ca45d6e2f5de37bf51a4119a0e805c2.zip
cleanup cpu-exec.c, part 0/N: consolidate handle_cpu_signal
handle_cpu_signal is very nearly copy-paste code for each target, with a few minor variations. This patch sets up appropriate defaults for a generic handle_cpu_signal and provides overrides for particular targets that did things differently. Fixing things like the persistent (XXX: use sigsetjmp) should now become somewhat easier. Previous comments on this patch suggest that the "activate soft MMU for this block" comments refer to defunct functionality. I have removed such blocks for the appropriate targets in this patch. Signed-off-by: Nathan Froyd <froydnj@codesourcery.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-m68k')
-rw-r--r--target-m68k/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h
index d071a0bbd4..68a7e41bc9 100644
--- a/target-m68k/cpu.h
+++ b/target-m68k/cpu.h
@@ -227,6 +227,7 @@ static inline int cpu_mmu_index (CPUState *env)
int cpu_m68k_handle_mmu_fault(CPUState *env, target_ulong address, int rw,
int mmu_idx, int is_softmmu);
+#define cpu_handle_mmu_fault cpu_m68k_handle_mmu_fault
#if defined(CONFIG_USER_ONLY)
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)