diff mbox series

[v2,1/5] target/arm: remove unused EXCP_SEMIHOST leg

Message ID 20191220132246.6759-2-alex.bennee@linaro.org
State New
Headers show
Series semihosting read console support | expand

Commit Message

Alex Bennée Dec. 20, 2019, 1:22 p.m. UTC
All semihosting exceptions are dealt with earlier in the common code
so we should never get here.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

Reviewed-by: Keith Packard <keithp@keithp.com>

Tested-by: Keith Packard <keithp@keithp.com>

---
 target/arm/helper.c | 6 ------
 1 file changed, 6 deletions(-)

-- 
2.20.1
diff mbox series

Patch

diff --git a/target/arm/helper.c b/target/arm/helper.c
index 5074b5f69ca..b4dc2274c8b 100644
--- a/target/arm/helper.c
+++ b/target/arm/helper.c
@@ -8554,12 +8554,6 @@  static void arm_cpu_do_interrupt_aarch64(CPUState *cs)
     case EXCP_VFIQ:
         addr += 0x100;
         break;
-    case EXCP_SEMIHOST:
-        qemu_log_mask(CPU_LOG_INT,
-                      "...handling as semihosting call 0x%" PRIx64 "\n",
-                      env->xregs[0]);
-        env->xregs[0] = do_arm_semihosting(env);
-        return;
     default:
         cpu_abort(cs, "Unhandled exception 0x%x\n", cs->exception_index);
     }