git: kernel - more cleanup of syscall2()

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jul 26 09:16:59 PDT 2020


commit ec5a6ba707d0a389229ea8a0f919799df32622a3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jul 26 09:12:15 2020 -0700

    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().

Summary of changes:
 sys/kern/init_sysent.c               |   6 +-
 sys/kern/syscalls.c                  |   2 +-
 sys/kern/syscalls.master             |   6 +-
 sys/platform/pc64/x86_64/trap.c      |  99 ++++++++++++++++++++++++++-----
 sys/platform/vkernel64/x86_64/trap.c | 110 +++++++++++++++++++++++++----------
 sys/sys/syscall.h                    |   2 +-
 sys/sys/syscall.mk                   |   1 +
 sys/sys/sysproto.h                   |   9 +--
 sys/sys/sysunion.h                   |   2 +-
 9 files changed, 176 insertions(+), 61 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ec5a6ba707d0a389229ea8a0f919799df32622a3


-- 
DragonFly BSD source repository



More information about the Commits mailing list