Date: Thu, 25 Sep 2008 20:07:42 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/freebsd32 syscalls.master src/sys/kern makesyscalls.sh syscalls.master src/sys/sys sysent.h Message-ID: <200809252010.m8PKAYwg017845@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809252010.m8PKAYwg017845>
