]> git.proxmox.com Git - mirror_qemu.git/commit - bsd-user/freebsd/os-syscall.c
bsd-user/freebsd/os-syscall.c: Move syscall processing here
authorWarner Losh <imp@bsdimp.com>
Sun, 30 Jan 2022 02:36:32 +0000 (19:36 -0700)
committerWarner Losh <imp@bsdimp.com>
Sat, 26 Feb 2022 17:01:38 +0000 (10:01 -0700)
commit66eed099f46f4c8749e0a509197a18c0d064b761
tree2b0e1bc0fe7db6581d1304e690c20236e5752a99
parenta941a16f6f52b287df2d2aa307cc81ee207c42a1
bsd-user/freebsd/os-syscall.c: Move syscall processing here

While there is some commonality between *BSD syscall processing, there's
a number of differences and the system call numbers and ABIs have been
independent since the late 90s. Move FreeBSD's proessing here and delete
it.

The upstream implementation is somewhat different than the current
implementation. It will be much easier to upstream these from scratch,
justifying the final result, rather than working out the diffs and
justifying the changes. Also tweak a comment to qemu standard form.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/freebsd/os-syscall.c [new file with mode: 0644]