aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-12-17 15:06:38 +0000
committerAlex Bennée <alex.bennee@linaro.org>2020-01-09 11:41:29 +0000
commitb906acbb3aceed5b1eca30d9d365d5bd7431400b (patch)
treef99b3fc2d65631e861c7cc3f6691c52711bc8bc5 /target
parent3618e3a6403079383904a1a61d53d0a57508b746 (diff)
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 <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>
Diffstat (limited to 'target')
-rw-r--r--target/arm/helper.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/target/arm/helper.c b/target/arm/helper.c
index b6bec42f48..da22c19800 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);
}