Clear BMASK also for ErrorEPC
PATCH 1/1 Clear BMASK also for ErrorEPC
Hello All,
this clears MIPS_HFLAG_BMASK also for ErrorEPC, like it is done already for EPC and DEPC.
Thiemo
target-mips/helper.c +1 -0
@@ -325,6 +325,7 @@ void do_interrupt (CPUState *env)* come back to the jump */ env->CP0_ErrorEPC = env->PC -4 ; + env->hflags &= ~MIPS_HFLAG_BMASK ; }else { env->CP0_ErrorEPC = env->PC; }