mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
generate GPF if non canonical addresses
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1681 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
56c8f68f1d
commit
54ca9095f0
3 changed files with 8 additions and 5 deletions
|
@ -3478,9 +3478,9 @@ void tlb_fill(target_ulong addr, int is_write, int is_user, void *retaddr)
|
|||
}
|
||||
}
|
||||
if (retaddr)
|
||||
raise_exception_err(EXCP0E_PAGE, env->error_code);
|
||||
raise_exception_err(env->exception_index, env->error_code);
|
||||
else
|
||||
raise_exception_err_norestore(EXCP0E_PAGE, env->error_code);
|
||||
raise_exception_err_norestore(env->exception_index, env->error_code);
|
||||
}
|
||||
env = saved_env;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue