From da07e6944fb0f1fe162246cbf31271f31ec9a5c0 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 20 Sep 2021 13:41:38 -0600 Subject: bsd-user/sysarch: Move to using do_freebsd_arch_sysarch interface 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 Reviewed-by: Richard Henderson Reviewed-by: Kyle Evans --- bsd-user/meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bsd-user/meson.build') diff --git a/bsd-user/meson.build b/bsd-user/meson.build index 5378f56f71..87885d91ed 100644 --- a/bsd-user/meson.build +++ b/bsd-user/meson.build @@ -12,3 +12,6 @@ bsd_user_ss.add(files( 'syscall.c', 'uaccess.c', )) + +# Pull in the OS-specific build glue, if any +subdir(targetos) -- cgit v1.2.3