]> git.proxmox.com Git - mirror_qemu.git/commit - bsd-user/main.c
bsd-user: pass the bsd_param into loader_exec
authorWarner Losh <imp@bsdimp.com>
Fri, 30 Apr 2021 00:45:13 +0000 (18:45 -0600)
committerWarner Losh <imp@bsdimp.com>
Fri, 10 Sep 2021 20:13:06 +0000 (14:13 -0600)
commitd37853f92f71688cb440e5d18121b97b7ed1c353
tree4b4b99ab9896c8b2e1d1dc0663f3a98ced4fa118
parent66ef252fab33d2113fd6cf399a1fd5e19ed26676
bsd-user: pass the bsd_param into loader_exec

Pass the bsd_param into loader_exec, and adjust. We use it to track the
inital stack allocation and to set stack, open files, and other state
shared between bsdload.c and elfload.c

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
bsd-user/bsdload.c
bsd-user/main.c
bsd-user/qemu.h