From owner-freebsd-afs Sun Dec 7 13:44:03 1997 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA25242 for afs-outgoing; Sun, 7 Dec 1997 13:44:03 -0800 (PST) (envelope-from owner-afs@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA25195; Sun, 7 Dec 1997 13:43:46 -0800 (PST) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id IAA08041; Sun, 7 Dec 1997 08:15:22 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp01.primenet.com, id smtpd008035; Sun Dec 7 08:15:19 1997 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id OAA02196; Sun, 7 Dec 1997 14:43:10 -0700 (MST) From: Terry Lambert Message-Id: <199712072143.OAA02196@usr02.primenet.com> Subject: Re: AFS for FreeBSD - OK, I think we're ready! To: rmallory@qualcomm.com (Rob Mallory) Date: Sun, 7 Dec 1997 21:43:10 +0000 (GMT) Cc: dyson@FreeBSD.ORG, hackers@FreeBSD.ORG, freebsd-afs@FreeBSD.ORG In-Reply-To: <199712072026.MAA15886@tarkin.qualcomm.com> from "Rob Mallory" at Dec 7, 97 12:26:44 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-afs@FreeBSD.ORG Precedence: bulk > + #ifdef CFS > + { 6, (sys_call_t *)icreate }, /* 241 = icreate */ > + { 3, (sys_call_t *)iopen }, /* 242 = iopen */ > + { 6, (sys_call_t *)iread }, /* 243 = iread */ > + { 6, (sys_call_t *)iwrite }, /* 244 = iwrite */ > + { 3, (sys_call_t *)iinc }, /* 245 = iinc */ > + { 3, (sys_call_t *)idec }, /* 246 = idec */ > + { 4, (sys_call_t *)pioctl }, /* 247 = pioctl */ > + { 0, (sy_call_t *)nosys }, /* 248 = unimplemented setpag */ > + { 0, (sy_call_t *)nosys }, /* 249 = unimplemented */ > + { 3, (sy_call_t *)minherit }, /* 250 = minherit */ > + #else /* !CFS */ I don't suppose you'd be willing to change this to: { 7, (sys_call_t *)coda }, /* 241 = coda*/ And then wrap them: int icreate( a1, a2, a3, a4, a5, a6) { return coda( CODA_ICREATE, a1, a2, a3, a4, a5, a6); } int iopen( a1, a2, a3) { return coda( CODA_IOPEN, a1, a2, a3, 0, 0, 0); } Etc.? Taking up that many call slots is a bit painful... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.