Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 1997 21:43:10 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        rmallory@qualcomm.com (Rob Mallory)
Cc:        dyson@FreeBSD.ORG, hackers@FreeBSD.ORG, freebsd-afs@FreeBSD.ORG
Subject:   Re: AFS for FreeBSD - OK, I think we're ready!
Message-ID:  <199712072143.OAA02196@usr02.primenet.com>
In-Reply-To: <199712072026.MAA15886@tarkin.qualcomm.com> from "Rob Mallory" at Dec 7, 97 12:26:44 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> + #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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712072143.OAA02196>