mirror of https://gitee.com/openkylin/qemu.git
microblaze: Ignore non-cpu accesses to unmapped areas
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
f7d42093a5
commit
afed260822
|
@ -500,7 +500,7 @@ void cpu_unassigned_access(CPUMBState *env, hwaddr addr,
|
||||||
{
|
{
|
||||||
qemu_log_mask(CPU_LOG_INT, "Unassigned " TARGET_FMT_plx " wr=%d exe=%d\n",
|
qemu_log_mask(CPU_LOG_INT, "Unassigned " TARGET_FMT_plx " wr=%d exe=%d\n",
|
||||||
addr, is_write, is_exec);
|
addr, is_write, is_exec);
|
||||||
if (!(env->sregs[SR_MSR] & MSR_EE)) {
|
if (!env || !(env->sregs[SR_MSR] & MSR_EE)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue