mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue