diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-12-04 18:46:06 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-12-04 18:46:06 +0000 |
commit | 54ca9095f046dfa03c3d093cc55f6d76b61864e1 (patch) | |
tree | 74098cc1e45c4856187f86016c104c8019ee40f2 /cpu-exec.c | |
parent | 56c8f68f1d2e45ad740de8c01780c7a4830d2098 (diff) | |
download | hqemu-54ca9095f046dfa03c3d093cc55f6d76b61864e1.zip hqemu-54ca9095f046dfa03c3d093cc55f6d76b61864e1.tar.gz |
generate GPF if non canonical addresses
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1681 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -904,7 +904,7 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address, /* we restore the process signal mask as the sigreturn should do it (XXX: use sigsetjmp) */ sigprocmask(SIG_SETMASK, old_set, NULL); - raise_exception_err(EXCP0E_PAGE, env->error_code); + raise_exception_err(env->exception_index, env->error_code); } else { /* activate soft MMU for this block */ env->hflags |= HF_SOFTMMU_MASK; |