diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-10-05 18:06:29 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-12-20 17:11:12 -0800 |
commit | 6ca5ac139fc47d689cff17a6111a21a51e52dfc4 (patch) | |
tree | b6d6e90d27826e9d3a403326f30d9f321aaa499b /include | |
parent | babcbc220ba658b30a43da5e88284a499c17da3e (diff) | |
download | qemu-6ca5ac139fc47d689cff17a6111a21a51e52dfc4.zip qemu-6ca5ac139fc47d689cff17a6111a21a51e52dfc4.tar.gz qemu-6ca5ac139fc47d689cff17a6111a21a51e52dfc4.tar.bz2 |
accel/tcg: Move remainder of page locking to tb-maint.c
The only thing that still touches PageDesc in translate-all.c
are some locking routines related to tb-maint.c which have not
yet been moved. Do so now.
Move some code up in tb-maint.c as well, to untangle the maze
of ifdefs, and allow a sensible final ordering.
Move some declarations from exec/translate-all.h to internal.h,
as they are only used within accel/tcg/.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/exec/translate-all.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/exec/translate-all.h b/include/exec/translate-all.h index 3e9cb91..88602ae 100644 --- a/include/exec/translate-all.h +++ b/include/exec/translate-all.h @@ -23,12 +23,6 @@ /* translate-all.c */ -struct page_collection *page_collection_lock(tb_page_addr_t start, - tb_page_addr_t end); -void page_collection_unlock(struct page_collection *set); -void tb_invalidate_phys_page_fast(struct page_collection *pages, - tb_page_addr_t start, int len, - uintptr_t retaddr); void tb_invalidate_phys_page(tb_page_addr_t addr); void tb_check_watchpoint(CPUState *cpu, uintptr_t retaddr); |