Clear MIPS_HFLAG_BMASK for ErrorEPC (Thiemo Seufer).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1777 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
pbrook 2006-03-11 16:35:30 +00:00
parent 4e9aec746e
commit ecd78a0ac7
1 changed files with 1 additions and 0 deletions

View 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;
}