summaryrefslogtreecommitdiffstats
path: root/tcg
diff options
context:
space:
mode:
authorRichard Henderson2018-10-09 19:51:25 +0200
committerRichard Henderson2018-10-19 03:58:10 +0200
commit383beda9cf32f795616c3b93f7d6154d70372d4b (patch)
treec55952e8a0b4084281afc9d5beae140213adb9da /tcg
parentcputlb: serialize tlb updates with env->tlb_lock (diff)
downloadqemu-383beda9cf32f795616c3b93f7d6154d70372d4b.tar.gz
qemu-383beda9cf32f795616c3b93f7d6154d70372d4b.tar.xz
qemu-383beda9cf32f795616c3b93f7d6154d70372d4b.zip
tcg: Add tlb_index and tlb_entry helpers
Isolate the computation of an index from an address into a helper before we change that function. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> [ cota: convert tlb_vaddr_to_host; use atomic_read on addr_write ] Signed-off-by: Emilio G. Cota <cota@braap.org> Message-Id: <20181009175129.17888-2-cota@braap.org>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions