mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 00:18:23 +00:00
1301becdab
Add support for MMU protection regions that are smaller than TARGET_PAGE_SIZE. We do this by marking the TLB entry for those pages with a flag TLB_RECHECK. This flag causes us to always take the slow-path for accesses. In the slow path we can then special case them to always call tlb_fill() again, so we have the correct information for the exact address being accessed. This change allows us to handle reading and writing from small regions; we cannot deal with execution from the small region. Backports commit 55df6fcf5476b44bc1b95554e686ab3e91d725c5 from qemu |
||
---|---|---|
.. | ||
tcg | ||
Makefile.objs |