From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 15 14:06:40 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80D7C16A4CE for ; Wed, 15 Sep 2004 14:06:40 +0000 (GMT) Received: from vsmtp2.tin.it (vsmtp2alice.tin.it [212.216.176.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02A5843D48 for ; Wed, 15 Sep 2004 14:06:40 +0000 (GMT) (envelope-from gerarra@tin.it) Received: from ims3a.cp.tin.it (192.168.70.103) by vsmtp2.tin.it (7.0.027) id 4141A7270013820C for freebsd-hackers@freebsd.org; Wed, 15 Sep 2004 16:06:40 +0200 Received: from [192.168.70.225] by ims3a.cp.tin.it with HTTP; Wed, 15 Sep 2004 16:06:39 +0200 Date: Wed, 15 Sep 2004 16:06:39 +0200 Message-ID: <4146316C0000429E@ims3a.cp.tin.it> From: gerarra@tin.it To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable Subject: struct sysentvec field X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 14:06:40 -0000 Hi, I've seen void (*sv_prepsyscall)(struct trapframe *, int *, u_int *, cad= dr_t *); field in struct sysentvec defined in sys/sysent.h; I've seen it's ca= ll be the current process in syscall interrupt 0x80 handling and it seems to= set number of arguments and base pointer for syscall arguments. It's not a comment in the code, somebody could tell me what is the task of this fi= eld? thanks rookie