]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user: Split out target_to_host_prot
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Jul 2023 20:40:40 +0000 (21:40 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 15 Jul 2023 07:02:32 +0000 (08:02 +0100)
commit0dd558121c41dd4578517a90668c24e7fcdd46ba
tree90f17f945caa4276f628a89b8c85b9d35dd974e4
parent037986053b063866b029733d9508635d31b3f987
linux-user: Split out target_to_host_prot

Split out from validate_prot_to_pageflags, as there is not
one single host_prot for the entire range.  We need to adjust
prot for every host page that overlaps multiple guest pages.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230707204054.8792-13-richard.henderson@linaro.org>
linux-user/mmap.c