diff options
author | Richard Henderson | 2021-02-12 19:48:46 +0100 |
---|---|---|
committer | Peter Maydell | 2021-02-16 12:04:53 +0100 |
commit | 46b12f461ca063e2cecc53d5805232f05336f02d (patch) | |
tree | 11c0e31bef349f9a6edbca5940f14db41efc9614 /accel/tcg | |
parent | linux-user: Use guest_range_valid in access_ok (diff) | |
download | qemu-46b12f461ca063e2cecc53d5805232f05336f02d.tar.gz qemu-46b12f461ca063e2cecc53d5805232f05336f02d.tar.xz qemu-46b12f461ca063e2cecc53d5805232f05336f02d.zip |
exec: Rename guest_{addr,range}_valid to *_untagged
The places that use these are better off using untagged
addresses, so do not provide a tagged versions. Rename
to make it clear about the address type.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210212184902.1251044-16-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'accel/tcg')
-rw-r--r-- | accel/tcg/user-exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c index fa1847b2a6..0d8cc27b21 100644 --- a/accel/tcg/user-exec.c +++ b/accel/tcg/user-exec.c @@ -213,7 +213,8 @@ static int probe_access_internal(CPUArchState *env, target_ulong addr, g_assert_not_reached(); } - if (!guest_addr_valid(addr) || page_check_range(addr, 1, flags) < 0) { + if (!guest_addr_valid_untagged(addr) || + page_check_range(addr, 1, flags) < 0) { if (nonfault) { return TLB_INVALID_MASK; } else { |