summaryrefslogtreecommitdiff
path: root/exec-all.h
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-06 18:46:28 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-06 18:46:28 +0000
commite18231a3ffe12a1f2004964594c7dd8ba3f78f33 (patch)
tree3026a1d6809c6713d9ca1660cf9aa017ea07d54c /exec-all.h
parent35f4b58c7a6e0a9708405cf96d505f1729b30c82 (diff)
downloadqemu-e18231a3ffe12a1f2004964594c7dd8ba3f78f33.tar.gz
qemu-e18231a3ffe12a1f2004964594c7dd8ba3f78f33.tar.bz2
qemu-e18231a3ffe12a1f2004964594c7dd8ba3f78f33.zip
Show size for unassigned accesses (Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5436 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec-all.h')
-rw-r--r--exec-all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec-all.h b/exec-all.h
index 84944c585e..6609c9a257 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -331,7 +331,7 @@ static inline target_ulong get_phys_addr_code(CPUState *env1, target_ulong addr)
pd = env1->tlb_table[mmu_idx][page_index].addr_code & ~TARGET_PAGE_MASK;
if (pd > IO_MEM_ROM && !(pd & IO_MEM_ROMD)) {
#if defined(TARGET_SPARC) || defined(TARGET_MIPS)
- do_unassigned_access(addr, 0, 1, 0);
+ do_unassigned_access(addr, 0, 1, 0, 4);
#else
cpu_abort(env1, "Trying to execute code outside RAM or ROM at 0x" TARGET_FMT_lx "\n", addr);
#endif