Subject: Porting question: __P
To: NetBSD Mailing List <port-mac68k@netbsd.org>
From: David A. Gatwood <marsmail@globegate.utm.edu>
List: port-mac68k
Date: 08/22/1998 16:17:59
In attempting to port the sbc driver to the Mach Kernel (heaven help me),
and I've run into something that I'm not familiar with, and which I can't
find anywhere in Mach's sources except a commented out chunk of headers
from FreeBSD in the ata driver, specifically, __P.  There are a few other
trivial things I'm stuck on, but that's the obnoxious one that keeps
coming up.  The others are obviously just simple macros that I haven't
found yet.  The __P is driving me nuts because it's preceded by the
function name, separated by a space, and it's followed by a space and then
double-parentheses around the argument list, so it's not something that
can just be taken out by an easy devine (i.e. the space and the extra
parentheses have to be killed).  I'm assuming there's probably something
obvious and simnple for handling these (besides hand-editing them out). 
Anyone?


Later,
David

David A. Gatwood                         Visit globegate's internet
dgatwood@globegate.utm.edu                  talker, Deep Space 36
http://globegate.utm.edu                telnet globegate.utm.edu:9624

-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCS/CC/FA/H/L/MC/M/MU/PA/TW d-@ s:>- a-- C++ ++>$ UBLAS*++ ++>$
P+?>$ L++ +>$ !E--- W++ +>$ N++(++ +)>++ +$ !o? K-? !w--- !O
M++>$ !V-- PS+>$ !PE- Y+>$ PGP+>$ t++ +>$ 5+>++ ++$ !X- !R tv+>$
b++>$ !DI !D- G++(++ +)>$ e>++ ++ h--! r--- !y-

------END GEEK CODE BLOCK------