diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-06-17 19:58:25 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-06-17 19:58:25 +0000 |
commit | 355fb23d83aad9ffae376cac09c6b52656e7d083 (patch) | |
tree | 6d4279f10b498a5723c0d829887557e46517cf62 /cpu-exec.c | |
parent | 9854bc4662906a60c35c64c1e5b4d76eee4ac631 (diff) | |
download | qemu-355fb23d83aad9ffae376cac09c6b52656e7d083.zip qemu-355fb23d83aad9ffae376cac09c6b52656e7d083.tar.gz qemu-355fb23d83aad9ffae376cac09c6b52656e7d083.tar.bz2 |
SH usermode fault handling.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1988 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -1172,19 +1172,14 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address, a virtual CPU fault */ cpu_restore_state(tb, env, pc, puc); } - if (ret == 1) { #if 0 printf("PF exception: NIP=0x%08x error=0x%x %p\n", env->nip, env->error_code, tb); #endif /* we restore the process signal mask as the sigreturn should do it (XXX: use sigsetjmp) */ - sigprocmask(SIG_SETMASK, old_set, NULL); - // do_raise_exception_err(env->exception_index, env->error_code); - } else { - /* activate soft MMU for this block */ - cpu_resume_from_signal(env, puc); - } + sigprocmask(SIG_SETMASK, old_set, NULL); + cpu_loop_exit(); /* never comes here */ return 1; } |