]> xenbits.xensource.com Git - xenclient/ioemu.git/commitdiff
Clear MIPS_HFLAG_BMASK for ErrorEPC (Thiemo Seufer).
authorpbrook <pbrook>
Sat, 11 Mar 2006 16:35:30 +0000 (16:35 +0000)
committerpbrook <pbrook>
Sat, 11 Mar 2006 16:35:30 +0000 (16:35 +0000)
target-mips/helper.c

index 62c53a0bf0932b004404442e59e44fddcdcb04e9..752ee72750e1156e00115b9a74547a1c72c1f84d 100644 (file)
@@ -326,6 +326,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;
         }