Preliminary syscall messaging work. Adjust all <syscall>_args structures
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 24 Jul 2003 01:41:27 +0000 (01:41 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 24 Jul 2003 01:41:27 +0000 (01:41 +0000)
commita64ba1822e9b19f18714b60b0f5344e86b270981
tree2f9528272edec7f27cc959f2e0f09d0070ce1dd5
parent2fb326c0e37ec0f5cd7d908f530368defca63d74
Preliminary syscall messaging work.  Adjust all <syscall>_args structures
to include an lwkt_msg at their base which will eventually allow syscalls
to run asynch.  Note that this is for the kernel copy of the arguments, the
userland argument format has not changed for the standard syscall entry
point.

Begin abstracting a messaging syscall interface (#if 0'd out at the moment).

Change the syscall2 entry point to take the new expanded argument structure
into account.  Change sysent argument calculation (AS macro) to take the
new expanded argument structure into account.

Note: existing linux, svr4, and ibcs2 emulation may break with this commit,
though it is not intentional.
59 files changed:
sys/cpu/i386/include/segments.h
sys/emulation/ibcs2/i386/Makefile
sys/emulation/ibcs2/i386/ibcs2_proto.h
sys/emulation/ibcs2/i386/ibcs2_syscall.h
sys/emulation/ibcs2/i386/ibcs2_sysent.c
sys/emulation/ibcs2/i386/syscalls.conf
sys/emulation/linux/i386/Makefile
sys/emulation/linux/i386/linux_proto.h
sys/emulation/linux/i386/linux_syscall.h
sys/emulation/linux/i386/linux_sysent.c
sys/emulation/linux/i386/syscalls.conf
sys/emulation/svr4/Makefile
sys/emulation/svr4/svr4_proto.h
sys/emulation/svr4/svr4_syscall.h
sys/emulation/svr4/svr4_syscallnames.c
sys/emulation/svr4/svr4_sysent.c
sys/emulation/svr4/syscalls.conf
sys/i386/i386/exception.s
sys/i386/i386/genassym.c
sys/i386/i386/machdep.c
sys/i386/i386/trap.c
sys/i386/include/segments.h
sys/kern/Makefile
sys/kern/init_sysent.c
sys/kern/kern_descrip.c
sys/kern/kern_event.c
sys/kern/kern_exec.c
sys/kern/kern_fork.c
sys/kern/kern_ktrace.c
sys/kern/kern_ntptime.c
sys/kern/kern_prot.c
sys/kern/kern_resource.c
sys/kern/kern_sig.c
sys/kern/kern_sysctl.c
sys/kern/kern_time.c
sys/kern/kern_xxx.c
sys/kern/makesyscalls.sh
sys/kern/subr_prof.c
sys/kern/sys_generic.c
sys/kern/sys_process.c
sys/kern/syscalls.c
sys/kern/sysv_msg.c
sys/kern/sysv_sem.c
sys/kern/sysv_shm.c
sys/kern/vfs_cache.c
sys/kern/vfs_syscalls.c
sys/platform/pc32/i386/exception.s
sys/platform/pc32/i386/genassym.c
sys/platform/pc32/i386/machdep.c
sys/platform/pc32/i386/trap.c
sys/platform/vkernel/i386/genassym.c
sys/sys/msgport.h
sys/sys/syscall-hide.h
sys/sys/syscall.h
sys/sys/syscall.mk
sys/sys/sysproto.h
sys/sys/sysunion.h [new file with mode: 0644]
sys/sys/vmmeter.h
sys/vm/vm_mmap.c