summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-06 17:59:24 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-06 17:59:24 +0000
commitb4f0a316b5585b6aeca13bf9022e2ad3de8bafd3 (patch)
treee2295fdcfad266406fb6a7d93a0742691785e445 /exec.c
parent8508b89e366906ec4f1b15fdd2e9ce5fab2b1bd6 (diff)
downloadqemu-b4f0a316b5585b6aeca13bf9022e2ad3de8bafd3.tar.gz
Report unassigned memory access to CPU (not enabled yet)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2776 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/exec.c b/exec.c
index 084b84409b..4261dc06b1 100644
--- a/exec.c
+++ b/exec.c
@@ -1959,6 +1959,10 @@ static uint32_t unassigned_mem_readb(void *opaque, target_phys_addr_t addr)
#ifdef DEBUG_UNASSIGNED
printf("Unassigned mem read 0x%08x\n", (int)addr);
#endif
+#ifdef TARGET_SPARC
+ // Not enabled yet because of bugs in gdbstub etc.
+ //raise_exception(TT_DATA_ACCESS);
+#endif
return 0;
}
@@ -1967,6 +1971,10 @@ static void unassigned_mem_writeb(void *opaque, target_phys_addr_t addr, uint32_
#ifdef DEBUG_UNASSIGNED
printf("Unassigned mem write 0x%08x = 0x%x\n", (int)addr, val);
#endif
+#ifdef TARGET_SPARC
+ // Not enabled yet because of bugs in gdbstub etc.
+ //raise_exception(TT_DATA_ACCESS);
+#endif
}
static CPUReadMemoryFunc *unassigned_mem_read[3] = {