target/m68k: Clear SR[T] on ColdFire exception entry
PATCH 1/1 target/m68k: Clear SR[T] on ColdFire exception entry
In reply to a message not in the archiveClear the SR[T] in cf_interrupt_all() to disable tracing, like m68k_interrupt_all() does.
Signed-off-by Eric DeVolder <[email protected]>
--- target/m68k/op_helper.c | 1 + 1 file changed, 1 insertion(+)
target/m68k/op_helper.c +1 -0
@@ -240,6 +240,7 @@ static void cf_interrupt_all(CPUM68KState *env, int is_hw) fmt |= sr; env->sr |=SR_S ; + env->sr &= ~SR_T ;if (is_hw) { env->sr = (env->sr & ~SR_I ) | (env->pending_level <<SR_I_SHIFT ); env->sr &= ~SR_M ;
Signature · 1 line
2.53.0