]> git.proxmox.com Git - mirror_qemu.git/commit - bsd-user/meson.build
bsd-user/sysarch: Move to using do_freebsd_arch_sysarch interface
authorWarner Losh <imp@bsdimp.com>
Mon, 20 Sep 2021 19:41:38 +0000 (13:41 -0600)
committerWarner Losh <imp@bsdimp.com>
Mon, 18 Oct 2021 18:51:39 +0000 (12:51 -0600)
commitda07e6944fb0f1fe162246cbf31271f31ec9a5c0
tree53b0056222b108823a1896f767a4913496a0fee5
parent653ccec26dd3f9942ac258c43be0edb93e16dfba
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 <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
bsd-user/freebsd/meson.build [new file with mode: 0644]
bsd-user/freebsd/os-sys.c [new file with mode: 0644]
bsd-user/meson.build
bsd-user/qemu.h
bsd-user/syscall.c