* [Qemu-devel] [PATCH 1/1] microblaze: Ignore non-cpu accesses to unmapped areas
@ 2013-03-19 16:56 edgar.iglesias
0 siblings, 0 replies; only message in thread
From: edgar.iglesias @ 2013-03-19 16:56 UTC (permalink / raw)
To: qemu-devel
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
---
target-microblaze/op_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c
index 1c62f3c..f2cb88b 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;
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-19 16:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-19 16:56 [Qemu-devel] [PATCH 1/1] microblaze: Ignore non-cpu accesses to unmapped areas edgar.iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).