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> |
||
---|---|---|
.. | ||
host-os.h | ||
meson.build | ||
os-strace.h | ||
os-sys.c | ||
strace.list | ||
syscall_nr.h | ||
target_os_elf.h | ||
target_os_siginfo.h | ||
target_os_signal.h | ||
target_os_stack.h | ||
target_os_thread.h | ||
target_os_user.h | ||
target_os_vmparam.h |