Revision afa05eb1
b/target-i386/helper2.c | ||
---|---|---|
400 | 400 |
if (prot & PROT_WRITE) { |
401 | 401 |
env->tlb_write[is_user][index].address = address; |
402 | 402 |
env->tlb_write[is_user][index].addend = addend; |
403 |
} else { |
|
404 |
env->tlb_write[is_user][index].address = -1; |
|
405 |
env->tlb_write[is_user][index].addend = -1; |
|
403 | 406 |
} |
404 | 407 |
page_set_flags(vaddr, vaddr + TARGET_PAGE_SIZE, |
405 | 408 |
PAGE_VALID | PAGE_EXEC | prot); |
Also available in: Unified diff