summary refs log tree commit diff stats
path: root/bsd-user/qemu.h
diff options
context:
space:
mode:
authorWarner Losh <imp@bsdimp.com>2021-08-03 13:39:31 -0600
committerWarner Losh <imp@bsdimp.com>2021-09-10 14:13:06 -0600
commit01a298a57ed3cd1fefbe70c691d74247c8f84906 (patch)
tree3322dcbd549d95b494c2497a12ef9ffa0cffc2fd /bsd-user/qemu.h
parentd1dc9ab3afd51f0a8d6a6b19edca3dd345deb32d (diff)
downloadfocaccia-qemu-01a298a57ed3cd1fefbe70c691d74247c8f84906.tar.gz
focaccia-qemu-01a298a57ed3cd1fefbe70c691d74247c8f84906.zip
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>
Diffstat (limited to 'bsd-user/qemu.h')
-rw-r--r--bsd-user/qemu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h
index cf248ad3df..6c4ec61d76 100644
--- a/bsd-user/qemu.h
+++ b/bsd-user/qemu.h
@@ -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 */