From: Alex Bennée Date: Tue, 17 Dec 2019 15:06:38 +0000 (+0000) Subject: target/arm: remove unused EXCP_SEMIHOST leg X-Git-Tag: v5.0.0-rc0~153^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b906acbb3aceed5b1eca30d9d365d5bd7431400b;p=thirdparty%2Fqemu.git target/arm: remove unused EXCP_SEMIHOST leg All semihosting exceptions are dealt with earlier in the common code so we should never get here. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Reviewed-by: Keith Packard Tested-by: Keith Packard --- diff --git a/target/arm/helper.c b/target/arm/helper.c index b6bec42f48e..da22c198006 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -8566,12 +8566,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); }