exec: Improve types for guest_addr_valid
commit19d3c905fef84ace72010d1cab2d09d69ebfcdcb
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 12 Feb 2021 18:48:36 +0000 (12 10:48 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Feb 2021 11:04:53 +0000 (16 11:04 +0000)
tree7a56b8595ca458ea0157c5ab933c5387a19e9aaa
parent9abf09ffdeb0812b8eee527894d6e55b2df45915
exec: Improve types for guest_addr_valid

Return bool not int; pass abi_ulong not 'unsigned long'.
All callers use abi_ulong already, so the change in type
has no effect.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210212184902.1251044-6-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
include/exec/cpu_ldst.h