kernel - more cleanup of syscall2()
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 26 Jul 2020 16:12:15 +0000 (09:12 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 26 Jul 2020 16:12:15 +0000 (09:12 -0700)
commitec5a6ba707d0a389229ea8a0f919799df32622a3
tree4ab7b59b74e28c9e4c94390206767c5cf5d7fb59
parent647fa573e82854134df56ed437868bbcb98ecc9e
kernel - more cleanup of syscall2()

* Implement an actual SYS___nosys system call.

* Convert one conditional to something that can use CMOV, using
  the new SYS___nosys system call code.

* Get rid of special checks for SYS_syscall and SYS___syscall.
  Instead, provide real vectors for these functions.  This also
  cleans up a few other bits of code in syscall2().
sys/kern/init_sysent.c
sys/kern/syscalls.c
sys/kern/syscalls.master
sys/platform/pc64/x86_64/trap.c
sys/platform/vkernel64/x86_64/trap.c
sys/sys/syscall.h
sys/sys/syscall.mk
sys/sys/sysproto.h
sys/sys/sysunion.h