Subject: Re: inodes, newfs and Mkfs
To: Allen Briggs <briggs@ninthwonder.com>
From: None <nigel@ind.tansu.com.au>
List: port-mac68k
Date: 07/03/1999 09:32:46
...
> > __BEGIN_DECLS
> > in_addr_t	htonl __P((in_addr_t)) __attribute__((__const__));
> > in_port_t	htons __P((in_port_t)) __attribute__((__const__));
> > in_addr_t	ntohl __P((in_addr_t)) __attribute__((__const__));
> > in_port_t	ntohs __P((in_port_t)) __attribute__((__const__));
> > __END_DECLS
> 
> Did it snag on the __attribute__()?  If so,
> 
> #define __attribute__(x)	/* ignore me */

	Aah. Yes, of course. A null macro. That works. Thanks.

	I was trying to get the __BEGIN_DECLS and __END_DECLS to be
the start and end of a comment block, but CodeWarrior doesn't work
that way (probably neither would cpp ;-)

...
> Some of the env. variables are informational or designed for
> configuration options, debugging, etc.  Things that would be nice
> to have, but that are not exactly required to get booted.  Actually,
> it would be a good idea to document these somewhere.  I'd like to
> trim down the number of _required_ values in the booter/kernel
> interface as much as we can.

	Many of these aren't _required_ any more; like some of the
values passed in the data and address registers. But I don't dare
take them out because:
1) They aren't documented
2) Really old kernels may still use them

	I will document to Booter side if someone else will do the
kernel side :-)

-- 
| Nigel Pearson, nigel@ind.tansu.com.au | "reality  is  that  which  |
|  Telstra IN&IND, Sydney, Australia.   |  doesn't go away when you  |
| Office: 9206 3468    Fax:  9212 6329  |  stop  believing  in  it." |
| Mobile: 0408 664435  Home: 9579 3293  |       Philip K. Dick       |