On Thu, Sep 2, 2021 at 6:56 PM <[email protected]> wrote: > > From: Warner Losh <[email protected]> > > Update the reserved base based on what platform we're on, as well as the > start of the mmap range. Update routines that find va ranges to interact > with the reserved ranges as well as properly align the mapping (this is > especially important for targets whose page size does not match the > host's). Loop where appropriate when the initial address space offered > by mmap does not meet the contraints. > > This has 18e80c55bb6 from linux-user folded in to the upstream > bsd-user code as well. > > Signed-off-by: Mikaƫl Urankar <[email protected]> > Signed-off-by: Stacey Son <[email protected]> > Signed-off-by: Warner Losh <[email protected]> > Acked-by: Richard Henderson <[email protected]> > --- > bsd-user/main.c | 43 ++++- > bsd-user/mmap.c | 415 ++++++++++++++++++++++++++++++++++++++++-------- > bsd-user/qemu.h | 5 +- > 3 files changed, 392 insertions(+), 71 deletions(-) >
Reviewed-by: Kyle Evans <[email protected]>
