> On Aug 26, 2021, at 10:22 PM, Philippe Mathieu-Daudé <[email protected]> wrote: > > On 8/26/21 11:11 PM, [email protected] wrote: >> From: Warner Losh <[email protected]> >> >> 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é <[email protected]> > >> Signed-off-by: Warner Losh <[email protected]> >> Reviewed-by: Richard Henderson <[email protected]> >> --- >> 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
