Prepare for aarch64 support (the next architecture to be upstreamed). As the aarch64 emulation is more complete, it relies on a number of different items. In some cases, I've pulled in the full support from bsd-user fork. In other cases I've created a simple stub (as is the case for signals, which have independent changes pending, so I wanted to be as minimal as possible. Since all pre-12.2 support was purged from the bsd-user fork, go ahead and remove it here. FreeBSD 11.x goes ouft of support at the end of the month. Remove what little multi-version support that's in upstream.
The aarch64 patch set will be published soon after some of the dust settles. Stacey Son (1): bsd-user/errno_defs.h: Add internal error numbers Warner Losh (13): bsd-user/target_os-user.h: Remove support for FreeBSD older than 12.0 bsd-user/strace.list: Remove support for FreeBSD versions older than 12.0 bsd-user: TARGET_RESET define is unused, remove it bsd-user: export get_errno and is_error from syscall.c bsd-user: move TARGET_MC_GET_CLEAR_RET to target_os_signal.h bsd-user/target_os_elf.h: Remove fallback ELF_HWCAP and reorder bsd-user/target_os_elf: If ELF_HWCAP2 is defined, publish it bsd-user: Remove used from TaskState bsd-user: Add stop_all_tasks bsd-user/sysarch: Move to using do_freebsd_arch_sysarch interface bsd-user/sysarch: Provide a per-arch framework for sysarch syscall bsd-user: Rename sigqueue to qemu_sigqueue bsd-user/signal: Create a dummy signal queueing function bsd-user/errno_defs.h | 14 +++- bsd-user/freebsd/meson.build | 3 + bsd-user/freebsd/os-sys.c | 28 ++++++++ bsd-user/freebsd/strace.list | 11 --- bsd-user/freebsd/target_os_elf.h | 12 ++-- bsd-user/freebsd/target_os_signal.h | 3 + bsd-user/freebsd/target_os_user.h | 100 +-------------------------- bsd-user/i386/target_arch_cpu.h | 2 - bsd-user/i386/target_arch_signal.h | 2 - bsd-user/main.c | 10 ++- bsd-user/meson.build | 6 ++ bsd-user/qemu.h | 24 ++++--- bsd-user/signal.c | 8 +++ bsd-user/syscall.c | 60 ++-------------- bsd-user/x86_64/target_arch_cpu.h | 2 - bsd-user/x86_64/target_arch_signal.h | 2 - 16 files changed, 96 insertions(+), 191 deletions(-) create mode 100644 bsd-user/freebsd/meson.build create mode 100644 bsd-user/freebsd/os-sys.c -- 2.32.0