unicorn/qemu/accel/tcg
Peter Maydell 1301becdab
tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE
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
2018-11-16 21:35:54 -05:00
..
atomic_template.h tcg: Split CONFIG_ATOMIC128 2018-10-23 15:17:39 -04:00
cpu-exec-common.c icount: fix cpu_restore_state_from_tb for non-tb-exit cases 2018-04-11 20:05:40 -04:00
cpu-exec.c tcg: Implement CPU_LOG_TB_NOCHAIN during expansion 2018-10-23 14:35:12 -04:00
cputlb.c tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE 2018-11-16 21:35:54 -05:00
Makefile.objs tcg: move tcg backend files into accel/tcg/ 2018-03-13 11:48:15 -04:00
softmmu_template.h tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE 2018-11-16 21:35:54 -05:00
tcg-runtime-gvec.c tcg: Fix out-of-line generic vector compares 2018-04-07 23:05:19 -04:00
tcg-runtime.c tcg: Split CONFIG_ATOMIC128 2018-10-23 15:17:39 -04:00
tcg-runtime.h tcg: Introduce atomic helpers for integer min/max 2018-05-14 08:06:42 -04:00
translate-all.c icount: fix cpu_restore_state_from_tb for non-tb-exit cases 2018-04-11 20:05:40 -04:00
translate-all.h tcg: move tcg backend files into accel/tcg/ 2018-03-13 11:48:15 -04:00
translate-common.c tcg: move tcg backend files into accel/tcg/ 2018-03-13 11:48:15 -04:00
translator.c translator: fix breakpoint processing 2018-10-04 04:04:57 -04:00