diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-08-10 13:52:50 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-09-06 08:04:25 +0100 |
commit | cdf7130851318004e6512dbfdb73156fe59c7a59 (patch) | |
tree | 99b676707c22d63a79265d96871a706c753b89d6 /stubs/qemu-timer-notify-cb.c | |
parent | f3b2b81b6fdaacfa8a769ad5834e6f6f129e2119 (diff) | |
download | qemu-cdf7130851318004e6512dbfdb73156fe59c7a59.zip qemu-cdf7130851318004e6512dbfdb73156fe59c7a59.tar.gz qemu-cdf7130851318004e6512dbfdb73156fe59c7a59.tar.bz2 |
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 'stubs/qemu-timer-notify-cb.c')
0 files changed, 0 insertions, 0 deletions