From owner-cvs-all@FreeBSD.ORG Thu Sep 25 20:10:34 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D536F106564A; Thu, 25 Sep 2008 20:10:34 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C2CFC8FC20; Thu, 25 Sep 2008 20:10:34 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m8PKAYR8017846; Thu, 25 Sep 2008 20:10:34 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m8PKAYwg017845; Thu, 25 Sep 2008 20:10:34 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200809252010.m8PKAYwg017845@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Thu, 25 Sep 2008 20:07:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/compat/freebsd32 syscalls.master src/sys/kern makesyscalls.sh syscalls.master src/sys/sys sysent.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 20:10:34 -0000 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 . 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 . - 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