diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-09-14 16:56:32 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-11-02 07:00:52 -0400 |
commit | 028772c45cfdd21870f0f9056d270f03bf990fae (patch) | |
tree | 3bc3d69588e00bbf9b9fa1891e1840cf563e44bf /linux-user/m68k | |
parent | f74bd157c62f5c064418d038f9003c9c4b3dad0e (diff) | |
download | qemu-028772c45cfdd21870f0f9056d270f03bf990fae.zip qemu-028772c45cfdd21870f0f9056d270f03bf990fae.tar.gz qemu-028772c45cfdd21870f0f9056d270f03bf990fae.tar.bz2 |
target/m68k: Make m68k_cpu_tlb_fill sysemu only
The fallback code in cpu_loop_exit_sigsegv is sufficient
for m68k linux-user.
Remove the code from cpu_loop that handled EXCP_ACCESS.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/m68k')
-rw-r--r-- | linux-user/m68k/cpu_loop.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/linux-user/m68k/cpu_loop.c b/linux-user/m68k/cpu_loop.c index ebf32be..790bd55 100644 --- a/linux-user/m68k/cpu_loop.c +++ b/linux-user/m68k/cpu_loop.c @@ -90,16 +90,6 @@ void cpu_loop(CPUM68KState *env) case EXCP_INTERRUPT: /* just indicate that signals should be handled asap */ break; - case EXCP_ACCESS: - { - info.si_signo = TARGET_SIGSEGV; - info.si_errno = 0; - /* XXX: check env->error_code */ - info.si_code = TARGET_SEGV_MAPERR; - info._sifields._sigfault._addr = env->mmu.ar; - queue_signal(env, info.si_signo, QEMU_SI_FAULT, &info); - } - break; case EXCP_DEBUG: info.si_signo = TARGET_SIGTRAP; info.si_errno = 0; |