summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-16 16:55:52 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-16 16:55:52 +0000
commite19e4efeaa250e269b491f3a04e04a35831d313a (patch)
treecc9a72bcd4e2c23e5364d089e7ff0b38f85d4d3a /target-sparc/helper.c
parentDisable OMAP2 combined-io-entries hack now that more regions are allowed. (diff)
downloadqemu-kvm-e19e4efeaa250e269b491f3a04e04a35831d313a.tar.gz
qemu-kvm-e19e4efeaa250e269b491f3a04e04a35831d313a.tar.bz2
qemu-kvm-e19e4efeaa250e269b491f3a04e04a35831d313a.zip
Fix MMU miss traps
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4880 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/helper.c')
-rw-r--r--target-sparc/helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-sparc/helper.c b/target-sparc/helper.c
index 1cfe170de..14364fb91 100644
--- a/target-sparc/helper.c
+++ b/target-sparc/helper.c
@@ -655,7 +655,7 @@ target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
#ifdef TARGET_SPARC64
#ifdef DEBUG_PCALL
-static const char * const excp_names[0x50] = {
+static const char * const excp_names[0x80] = {
[TT_TFAULT] = "Instruction Access Fault",
[TT_TMISS] = "Instruction Access MMU Miss",
[TT_CODE_ACCESS] = "Instruction Access Error",
@@ -699,7 +699,7 @@ void do_interrupt(CPUState *env)
static int count;
const char *name;
- if (intno < 0 || intno >= 0x180 || (intno > 0x4f && intno < 0x80))
+ if (intno < 0 || intno >= 0x180)
name = "Unknown";
else if (intno >= 0x100)
name = "Trap Instruction";