mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
microblaze: Restore env when raising unmapped bus access.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
4898427ec8
commit
95b279de95
@ -249,6 +249,7 @@ void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec,
|
||||
qemu_log_mask(CPU_LOG_INT, "Unassigned " TARGET_FMT_plx " wr=%d exe=%d\n",
|
||||
addr, is_write, is_exec);
|
||||
if (!(env->sregs[SR_MSR] & MSR_EE)) {
|
||||
env = saved_env;
|
||||
return;
|
||||
}
|
||||
|
||||
@ -264,4 +265,5 @@ void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec,
|
||||
helper_raise_exception(EXCP_HW_EXCP);
|
||||
}
|
||||
}
|
||||
env = saved_env;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user