[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 08/43] bsd-user: pass the bsd_param into loader_exec
From: |
Warner Losh |
Subject: |
Re: [PATCH v2 08/43] bsd-user: pass the bsd_param into loader_exec |
Date: |
Fri, 27 Aug 2021 09:49:03 -0600 |
> On Aug 26, 2021, at 10:22 PM, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> On 8/26/21 11:11 PM, imp@bsdimp.com wrote:
>> From: Warner Losh <imp@bsdimp.com>
>>
>> Pass the bsd_param into loader_exec, and adjust.
>
> Missing the "why" justification.
So I am. I’ve added it and it will be in v3 of the patches. It’s used to share
state between
bsdload and elf load, especially open files and the stack used to construct the
initial args
to start/main.
Warner
> Anyway,
> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
>
>> Signed-off-by: Warner Losh <imp@bsdimp.com>
>> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
>> ---
>> bsd-user/bsdload.c | 37 +++++++++++++++++++------------------
>> bsd-user/main.c | 7 ++++++-
>> bsd-user/qemu.h | 3 ++-
>> 3 files changed, 27 insertions(+), 20 deletions(-)
signature.asc
Description: Message signed with OpenPGP
- [PATCH v2 00/43] bsd-user updates to run hello world, imp, 2021/08/26
- [PATCH v2 02/43] bsd-user: add copyright header to elfload.c, imp, 2021/08/26
- [PATCH v2 03/43] bsd-user: Add Stacey's copyright to main.c, imp, 2021/08/26
- [PATCH v2 04/43] bsd-user: add license to bsdload.c, imp, 2021/08/26
- [PATCH v2 05/43] bsd-user: style nits: bsdload.c whitespace to qemu standard, imp, 2021/08/26
- [PATCH v2 01/43] bsd-user: remove sparc and sparc64, imp, 2021/08/26
- [PATCH v2 06/43] bsd-user: Remove all non-x86 code from elfload.c, imp, 2021/08/26
- [PATCH v2 08/43] bsd-user: pass the bsd_param into loader_exec, imp, 2021/08/26
- [PATCH v2 09/43] bsd-user: Fix calculation of size to allocate, imp, 2021/08/26
- [PATCH v2 07/43] bsd-user: move arch specific defines out of elfload.c, imp, 2021/08/26
- [PATCH v2 10/43] bsd-user: implement path searching, imp, 2021/08/26
- [PATCH v2 11/43] bsd-user: Eliminate elf personality, imp, 2021/08/26
- [PATCH v2 12/43] bsd-user: remove a.out support, imp, 2021/08/26
- [PATCH v2 14/43] bsd-user: elfload: simplify bswap a bit., imp, 2021/08/26
- [PATCH v2 15/43] bsd-user: assume pthreads and support of __thread, imp, 2021/08/26