microblaze: Clear exception in dslot ESR bit if not in dslot.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
21d2063605
commit
a75cf0c52d
@ -129,6 +129,7 @@ void do_interrupt(CPUState *env)
|
|||||||
case EXCP_MMU:
|
case EXCP_MMU:
|
||||||
env->regs[17] = env->sregs[SR_PC];
|
env->regs[17] = env->sregs[SR_PC];
|
||||||
|
|
||||||
|
env->sregs[SR_ESR] &= ~(1 << 12);
|
||||||
/* Exception breaks branch + dslot sequence? */
|
/* Exception breaks branch + dslot sequence? */
|
||||||
if (env->iflags & D_FLAG) {
|
if (env->iflags & D_FLAG) {
|
||||||
D(qemu_log("D_FLAG set at exception bimm=%d\n", env->bimm));
|
D(qemu_log("D_FLAG set at exception bimm=%d\n", env->bimm));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user