aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2006-12-10 22:08:10 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2006-12-10 22:08:10 +0000
commitca7c2b1b9f984f622c7495004483016fee61e489 (patch)
tree039162ed6c3010cb651694b5ccc850033fdf3a2d /linux-user
parent7d600c804d79e21254a20b953d6bd175597d752d (diff)
Handle invalid accesses as SIGILL for mips/mipsel userland emulation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2235 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 6dd08022f0..c423d299b5 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -1352,6 +1352,8 @@ void cpu_loop(CPUMIPSState *env)
}
}
break;
+ case EXCP_TLBL:
+ case EXCP_TLBS:
case EXCP_CpU:
case EXCP_RI:
info.si_signo = TARGET_SIGILL;