diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2013-03-19 17:34:47 +0100 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2013-03-19 17:34:47 +0100 |
commit | afed26082219b49443193b4ac32d113bbcf967fd (patch) | |
tree | 0a16dfeff5b712957b50e36e7c1ffc1b490edfd6 /target-microblaze | |
parent | f7d42093a5e54d48cab62695a374806d4303bd6b (diff) |
microblaze: Ignore non-cpu accesses to unmapped areas
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-microblaze')
-rw-r--r-- | target-microblaze/op_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c index 1c62f3c68f..f2cb88b3ed 100644 --- a/target-microblaze/op_helper.c +++ b/target-microblaze/op_helper.c @@ -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", addr, is_write, is_exec); - if (!(env->sregs[SR_MSR] & MSR_EE)) { + if (!env || !(env->sregs[SR_MSR] & MSR_EE)) { return; } |