cvs commit: src/sys/emulation/ibcs2/i386 ibcs2_isc_syscall.h ibcs2_isc_sysent.c ibcs2_proto.h ibcs2_syscall.h ibcs2_sysent.c ibcs2_union.h ibcs2_xenix.h ibcs2_xenix_syscall.h ibcs2_xenix_sysent.c src/sys/emulation/linux/i386 linux_proto.h linux_syscall.h ...
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Aug 11 19:37:05 PDT 2003
dillon 2003/08/11 19:36:16 PDT
Modified files:
sys/emulation/ibcs2/i386 ibcs2_isc_syscall.h
ibcs2_isc_sysent.c ibcs2_proto.h
ibcs2_syscall.h ibcs2_sysent.c
ibcs2_union.h ibcs2_xenix.h
ibcs2_xenix_syscall.h
ibcs2_xenix_sysent.c
sys/emulation/linux/i386 linux_proto.h linux_syscall.h
linux_sysent.c linux_union.h
sys/emulation/svr4 svr4_proto.h svr4_syscall.h
svr4_syscallnames.c svr4_sysent.c
svr4_union.h
sys/i386/i386 trap.c
sys/kern init_sysent.c kern_device.c kern_time.c
lwkt_msgport.c makesyscalls.sh syscalls.c
sys/sys globaldata.h msgport.h msgport2.h
syscall-hide.h syscall.h syscall.mk
sysent.h sysmsg.h sysproto.h sysunion.h
Log:
Syscall messaging 4: Further expand the kernel-version of the syscall message.
The (in-kernel) syscall message is now arranged:
struct blah_args {
sysmsg
usrmsg
... syscall arguments ...
}
Original system calls copyin() just the arguments and then initialize sysmsg
and go. Syscall messages copyin() usrmsg+arguments and then initialize sysmsg
as appropriate and go.
Further detail work for EASYNC support. Implement td_msgport as a reply port
and start working on an async capability for the nanosleep() system call.
NOTE: Preliminary system call messaging can be tested using the suite of
programs in /usr/src/test/sysmsg.
NOTE: Work is still in progress and you can crash the system, so use of
MSGF_ASYNC for messaging system calls is currently restricted to root.
Also fixed a bug in the syscall module helper code in sys/sysent.h, which
might have been causing the linux problems (or might not have).
All system call headers had to be regenerated to deal with the structural
changes.
Revision Changes Path
1.6 +1 -1 src/sys/emulation/ibcs2/i386/ibcs2_isc_syscall.h
1.6 +2 -2 src/sys/emulation/ibcs2/i386/ibcs2_isc_sysent.c
1.8 +169 -1 src/sys/emulation/ibcs2/i386/ibcs2_proto.h
1.8 +1 -1 src/sys/emulation/ibcs2/i386/ibcs2_syscall.h
1.8 +2 -2 src/sys/emulation/ibcs2/i386/ibcs2_sysent.c
1.4 +3 -1 src/sys/emulation/ibcs2/i386/ibcs2_union.h
1.7 +52 -1 src/sys/emulation/ibcs2/i386/ibcs2_xenix.h
1.6 +1 -1 src/sys/emulation/ibcs2/i386/ibcs2_xenix_syscall.h
1.6 +2 -2 src/sys/emulation/ibcs2/i386/ibcs2_xenix_sysent.c
1.8 +460 -1 src/sys/emulation/linux/i386/linux_proto.h
1.8 +1 -1 src/sys/emulation/linux/i386/linux_syscall.h
1.8 +2 -2 src/sys/emulation/linux/i386/linux_sysent.c
1.4 +3 -1 src/sys/emulation/linux/i386/linux_union.h
1.8 +232 -1 src/sys/emulation/svr4/svr4_proto.h
1.8 +1 -1 src/sys/emulation/svr4/svr4_syscall.h
1.8 +1 -1 src/sys/emulation/svr4/svr4_syscallnames.c
1.8 +2 -2 src/sys/emulation/svr4/svr4_sysent.c
1.4 +3 -1 src/sys/emulation/svr4/svr4_union.h
1.32 +122 -49 src/sys/i386/i386/trap.c
1.7 +1 -1 src/sys/kern/init_sysent.c
1.4 +1 -1 src/sys/kern/kern_device.c
1.9 +72 -13 src/sys/kern/kern_time.c
1.5 +1 -2 src/sys/kern/lwkt_msgport.c
1.8 +15 -1 src/sys/kern/makesyscalls.sh
1.7 +0 -0 src/sys/kern/syscalls.c
1.15 +1 -1 src/sys/sys/globaldata.h
1.7 +12 -1 src/sys/sys/msgport.h
1.3 +12 -1 src/sys/sys/msgport2.h
1.7 +0 -0 src/sys/sys/syscall-hide.h
1.7 +0 -0 src/sys/sys/syscall.h
1.7 +0 -0 src/sys/sys/syscall.mk
1.4 +3 -3 src/sys/sys/sysent.h
1.2 +39 -13 src/sys/sys/sysmsg.h
1.7 +795 -0 src/sys/sys/sysproto.h
1.4 +2 -0 src/sys/sys/sysunion.h
More information about the Commits
mailing list