[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 43/43] bsd-user: Update mapping to handle reserved and sta
From: |
Kyle Evans |
Subject: |
Re: [PATCH v3 43/43] bsd-user: Update mapping to handle reserved and starting conditions |
Date: |
Sun, 5 Sep 2021 13:39:31 -0500 |
On Thu, Sep 2, 2021 at 6:56 PM <imp@bsdimp.com> wrote:
>
> From: Warner Losh <imp@FreeBSD.org>
>
> 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 <mikael.urankar@gmail.com>
> Signed-off-by: Stacey Son <sson@FreeBSD.org>
> Signed-off-by: Warner Losh <imp@bsdimp.com>
> Acked-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> 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 <kevans@FreeBSD.org>
- [PATCH v3 29/43] bsd-user: Add architecture specific signal tramp code, (continued)
- [PATCH v3 29/43] bsd-user: Add architecture specific signal tramp code, imp, 2021/09/02
- [PATCH v3 28/43] bsd-user: Move stack initializtion into a per-os file., imp, 2021/09/02
- [PATCH v3 36/43] bsd-user: Add target_os_user.h to capture the user/kernel structures, imp, 2021/09/02
- [PATCH v3 27/43] bsd-user: Implement --seed and initialize random state, imp, 2021/09/02
- [PATCH v3 34/43] bsd-user: update debugging in mmap.c, imp, 2021/09/02
- [PATCH v3 43/43] bsd-user: Update mapping to handle reserved and starting conditions, imp, 2021/09/02
- Re: [PATCH v3 43/43] bsd-user: Update mapping to handle reserved and starting conditions,
Kyle Evans <=
- [PATCH v3 40/43] bsd-user: move qemu_log to later in the file, imp, 2021/09/02
- [PATCH v3 42/43] bsd-user: Add '-0 argv0' option to bsd-user/main.c, imp, 2021/09/02
- [PATCH v3 32/43] bsd-user: Rewrite target system call definintion glue, imp, 2021/09/02
- [PATCH v3 39/43] bsd-user: Refactor load_elf_sections and is_target_elf_binary, imp, 2021/09/02
- [PATCH v3 38/43] bsd-user: elfload.c style catch up patch, imp, 2021/09/02