mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 23:10:38 +00:00
da07e6944f
do_freebsd_arch_sysarch() exists in $ARCH/target_arch_sysarch.h for x86. Call it from do_freebsd_sysarch() and remove the mostly duplicate version in syscall.c. Future changes will move it to os-sys.c and support other architectures. Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
18 lines
246 B
Meson
18 lines
246 B
Meson
if not have_bsd_user
|
|
subdir_done()
|
|
endif
|
|
|
|
bsd_user_ss.add(files(
|
|
'bsdload.c',
|
|
'elfload.c',
|
|
'main.c',
|
|
'mmap.c',
|
|
'signal.c',
|
|
'strace.c',
|
|
'syscall.c',
|
|
'uaccess.c',
|
|
))
|
|
|
|
# Pull in the OS-specific build glue, if any
|
|
subdir(targetos)
|