cvs commit: src/sys/compat/freebsd32 syscalls.master src/sys/kern
makesyscalls.sh syscalls.master src/sys/sys sysent.h
John Baldwin
jhb at FreeBSD.org
Thu Sep 25 20:10:34 UTC 2008
jhb 2008-09-25 20:07:42 UTC
FreeBSD src repository
Modified files:
sys/compat/freebsd32 syscalls.master
sys/kern makesyscalls.sh syscalls.master
sys/sys sysent.h
Log:
SVN rev 183361 on 2008-09-25 20:07:42Z by jhb
Tidy up a few things with syscall generation:
- Instead of using a syscall slot (370) just to get a function prototype
for lkmressys(), add an explicit function prototype to <sys/sysent.h>.
This also removes unused special case checks for 'lkmressys' from
makesyscalls.sh.
- Instead of having magic logic in makesyscalls.sh to only generate a
function prototype the first time 'lkmnosys' is seen, make 'NODEF'
always not generate a function prototype and include an explicit
prototype for 'lkmnosys' in <sys/sysent.h>.
- As a result of the fix in (2), update the LKM syscall entries in
the freebsd32 syscall table to use 'lkmnosys' rather than 'nosys'.
- Use NOPROTO for the __syscall() entry (198) in the native ABI. This
avoids the need for magic logic in makesyscalls.h to only generate
a function prototype the first time 'nosys' is encountered.
Revision Changes Path
1.108 +12 -12 src/sys/compat/freebsd32/syscalls.master
1.71 +15 -25 src/sys/kern/makesyscalls.sh
1.247 +3 -3 src/sys/kern/syscalls.master
1.57 +6 -0 src/sys/sys/sysent.h
More information about the cvs-src
mailing list