linux-user: Do not use guest_addr_valid for h2g_valid
commit57096f2977fe4b926343162df504652445dfcbcf
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 12 Feb 2021 18:48:40 +0000 (12 10:48 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Feb 2021 11:04:53 +0000 (16 11:04 +0000)
tree854b4203a2680c760798459e47f678248d0df6dc
parent1720751f94492bb5947ac0e6e200950f824b9389
linux-user: Do not use guest_addr_valid for h2g_valid

This is the only use of guest_addr_valid that does not begin
with a guest address, but a host address being transformed to
a guest address.

We will shortly adjust guest_addr_valid to handle guest memory
tags, and the host address should not be subjected to that.

Move h2g_valid adjacent to the other h2g macros.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210212184902.1251044-10-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
include/exec/cpu_ldst.h