Dont try to keep the tlb and the jmp cache synchronized.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4557 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
60ea3b6137
commit
db097cd313
3
exec.c
3
exec.c
@ -1745,9 +1745,6 @@ int tlb_set_page_exec(CPUState *env, target_ulong vaddr,
|
|||||||
te->addr_read = -1;
|
te->addr_read = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (te->addr_code != -1) {
|
|
||||||
tlb_flush_jmp_cache(env, te->addr_code);
|
|
||||||
}
|
|
||||||
if (prot & PAGE_EXEC) {
|
if (prot & PAGE_EXEC) {
|
||||||
te->addr_code = address;
|
te->addr_code = address;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user