]> git.proxmox.com Git - mirror_qemu.git/commit - bsd-user/main.c
include/exec: Change reserved_va semantics to last byte
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Mar 2023 22:26:29 +0000 (01:26 +0300)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 28 Mar 2023 22:23:10 +0000 (15:23 -0700)
commit95059f9c313a7fbd7f22e4cdc1977c0393addc7b
tree5cbda761db3d946f2dafca04afaab139077596dd
parenta3a67f54f0b4ec98ff2380a792e5bfeebc47d554
include/exec: Change reserved_va semantics to last byte

Change the semantics to be the last byte of the guest va, rather
than the following byte.  This avoids some overflow conditions.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/main.c
bsd-user/mmap.c
include/exec/cpu-all.h
linux-user/arm/target_cpu.h
linux-user/elfload.c
linux-user/main.c
linux-user/mmap.c