bsd-user: save the path to the qemu emulator

Save the path to the qemu emulator. This will be used later when we have
a more complete implementation of exec.

Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
This commit is contained in:
Warner Losh 2021-08-03 13:39:31 -06:00
parent d1dc9ab3af
commit 01a298a57e
2 changed files with 22 additions and 0 deletions

View file

@ -207,6 +207,7 @@ void mmap_fork_start(void);
void mmap_fork_end(int child);
/* main.c */
extern char qemu_proc_pathname[];
extern unsigned long x86_stack_size;
/* user access */