mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
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>
This commit is contained in:
parent
114556c533
commit
46b12f461c
5 changed files with 14 additions and 13 deletions
|
@ -494,8 +494,8 @@ extern unsigned long guest_stack_size;
|
|||
static inline bool access_ok(int type, abi_ulong addr, abi_ulong size)
|
||||
{
|
||||
if (size == 0
|
||||
? !guest_addr_valid(addr)
|
||||
: !guest_range_valid(addr, size)) {
|
||||
? !guest_addr_valid_untagged(addr)
|
||||
: !guest_range_valid_untagged(addr, size)) {
|
||||
return false;
|
||||
}
|
||||
return page_check_range((target_ulong)addr, size, type) == 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue