summaryrefslogtreecommitdiffstats
path: root/include/exec/memory.h
diff options
context:
space:
mode:
authorRichard Henderson2022-08-10 22:52:50 +0200
committerRichard Henderson2022-09-06 09:04:25 +0200
commitcdf7130851318004e6512dbfdb73156fe59c7a59 (patch)
tree99b676707c22d63a79265d96871a706c753b89d6 /include/exec/memory.h
parentaccel/tcg: Introduce is_same_page() (diff)
downloadqemu-cdf7130851318004e6512dbfdb73156fe59c7a59.tar.gz
qemu-cdf7130851318004e6512dbfdb73156fe59c7a59.tar.xz
qemu-cdf7130851318004e6512dbfdb73156fe59c7a59.zip
accel/tcg: Properly implement get_page_addr_code for user-only
The current implementation is a no-op, simply returning addr. This is incorrect, because we ought to be checking the page permissions for execution. Make get_page_addr_code inline for both implementations. Acked-by: Ilya Leoshkevich <iii@linux.ibm.com> Tested-by: Ilya Leoshkevich <iii@linux.ibm.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions