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:
parent
4e9aec746e
commit
ecd78a0ac7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user