]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: Use 'last' instead of 'end' in target_mmap
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Jul 2023 20:40:47 +0000 (21:40 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 15 Jul 2023 07:02:32 +0000 (08:02 +0100)
commitf9cd8f5eca2bb81761b846ca3162d7c9ea263385
treeec403964fbc1ee69394191b21cb80a11511e6a70
parent4c13048e02d93985320e4a9651dc29577ba53f0e
linux-user: Use 'last' instead of 'end' in target_mmap

Complete the transition within the mmap functions to a formulation
that does not overflow at the end of the address space.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230707204054.8792-20-richard.henderson@linaro.org>
linux-user/mmap.c