From: Edgar E. Iglesias Date: Tue, 19 Mar 2013 16:34:47 +0000 (+0100) Subject: microblaze: Ignore non-cpu accesses to unmapped areas X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~900^2~59^2~558 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afed26082219b49443193b4ac32d113bbcf967fd;p=sdk%2Femulator%2Fqemu.git microblaze: Ignore non-cpu accesses to unmapped areas Signed-off-by: Edgar E. Iglesias --- 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; }