aboutsummaryrefslogtreecommitdiff
path: root/linux-user/m68k/cpu_loop.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-04-29 20:16:53 -0700
committerRichard Henderson <richard.henderson@linaro.org>2022-06-28 10:13:22 +0530
commita638af09b6c6b1259803a377a53ef242c5af6af5 (patch)
treed177f1219a1850f29735d5ec5415d84d7dc69c1e /linux-user/m68k/cpu_loop.c
parentab294b6c3adfc8a9241f2aaff0709c51acf0370b (diff)
target/m68k: Make semihosting system only
While we had a call to do_m68k_semihosting in linux-user, it wasn't actually reachable. We don't include DISAS_INSN(halt) as an instruction unless system mode. Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/m68k/cpu_loop.c')
-rw-r--r--linux-user/m68k/cpu_loop.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/linux-user/m68k/cpu_loop.c b/linux-user/m68k/cpu_loop.c
index 3d3033155f..caead1cb74 100644
--- a/linux-user/m68k/cpu_loop.c
+++ b/linux-user/m68k/cpu_loop.c
@@ -36,11 +36,6 @@ void cpu_loop(CPUM68KState *env)
process_queued_cpu_work(cs);
switch(trapnr) {
- case EXCP_HALT_INSN:
- /* Semihosing syscall. */
- env->pc += 4;
- do_m68k_semihosting(env, env->dregs[0]);
- break;
case EXCP_ILLEGAL:
case EXCP_LINEA:
case EXCP_LINEF: