[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 1/6] target/arm: remove unused EXCP_SEMIHOST leg
From: |
Alex Bennée |
Subject: |
[PATCH v3 1/6] target/arm: remove unused EXCP_SEMIHOST leg |
Date: |
Wed, 8 Jan 2020 15:02:47 +0000 |
All semihosting exceptions are dealt with earlier in the common code
so we should never get here.
Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Keith Packard <address@hidden>
Tested-by: Keith Packard <address@hidden>
---
target/arm/helper.c | 6 ------
1 file changed, 6 deletions(-)
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);
}
--
2.20.1
- [PATCH v3 0/6] semihosting read console support, Alex Bennée, 2020/01/08
- [PATCH v3 1/6] target/arm: remove unused EXCP_SEMIHOST leg,
Alex Bennée <=
- [PATCH v3 6/6] tests/tcg: add user version of dumb-as-bricks semiconsole test, Alex Bennée, 2020/01/08
- [PATCH v3 2/6] target/arm: only update pc after semihosting completes, Alex Bennée, 2020/01/08
- [PATCH v3 4/6] tests/tcg: add a dumb-as-bricks semihosting console test, Alex Bennée, 2020/01/08
- [PATCH v3 3/6] semihosting: add qemu_semihosting_console_inc for SYS_READC, Alex Bennée, 2020/01/08
- [PATCH v3 5/6] tests/tcg: extract __semi_call into a header and expand, Alex Bennée, 2020/01/08