diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-07-27 09:11:48 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-07-31 12:19:13 -0700 |
commit | 28b61d49ac80bac8ef74aff0b75058bdd0b2f108 (patch) | |
tree | 0977685b89a4ff2b5f89de5155ae8e5c06de6633 /bsd-user/mmap.c | |
parent | ad17868eb162a5466d8ad43e5ccb428776403308 (diff) |
bsd-user: Allocate guest virtual address space
With reserved_va, mmap.c expects to have pre-allocated host address
space for the entire guest address space. When combined with the -B
command-line option, ensure that the chosen address does not overlap
anything else. Ensure that mmap_next_start is within reserved_va,
as we use it within mmap.c without checking.
Reviewed by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230727161148.444988-1-richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user/mmap.c')
0 files changed, 0 insertions, 0 deletions