diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-03-11 16:35:30 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-03-11 16:35:30 +0000 |
commit | ecd78a0ac7a7f5f37638a1847391206bb04c48e1 (patch) | |
tree | bb80624976e2303126837dcd4f1e98ac46f6ec16 | |
parent | 4e9aec746e8d87fbe8805b881d6dae898a75372b (diff) |
Clear MIPS_HFLAG_BMASK for ErrorEPC (Thiemo Seufer).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1777 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | target-mips/helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-mips/helper.c b/target-mips/helper.c index 62c53a0bf0..752ee72750 100644 --- a/target-mips/helper.c +++ b/target-mips/helper.c @@ -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; } |