target/m68k: handle EXCP_SEMIHOSTING in (non-ColdFire) m68k
PATCH 1/1 target/m68k: handle EXCP_SEMIHOSTING in (non-ColdFire) m68k
Commit 0815c228bd1 attempted to enable semihosting support for non- ColdFire m68k. But in do_interrupt_all(), we take a different path for regular m68k, and that path did not recognize EXCP_SEMIHOSTING. Fix that by adding equivalent code to m68k_interrupt_all().
Signed-off-by Matt Jacobson <[email protected]>
--- target/m68k/op_helper.c | 4 ++++ 1 file changed, 4 insertions(+)
target/m68k/op_helper.c +4 -0
@@ -305,6 +305,10 @@ static void m68k_interrupt_all(CPUM68KState *env, int is_hw)/* Return from an exception. */ m68k_rte (env);return ; +case EXCP_SEMIHOSTING : +do_m68k_semihosting (env, env->dregs[0 ]); +qemu_plugin_vcpu_hostcall_cb (cs, last_pc); +return ; } }
Signature · 1 line
2.54.0