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:03:40
> BTW, if anyone's looking for a way to contribute, helping Nigel out with
> improving the booter would certainly be cool. Nigel's doing well, but
> I expect he wouldn't turn any contributions down.
Always happy to. You write it, I will integrate, quality assure,
test, ship and support it. What a bargain :-)
...
> 1) Support for BOOTP/NFS/TFTP kernel loading via MacTCP and/or
> Open Transport.
I have no knowledge/examples/doco of MacOS networking code, so
this would be most useful.
> 2) Updates to handle the latest filesystems.
I am working on integrating more of the kernel source code, and
particularly the ufs/ffs/ext2fs filesystem code, into the Booter at the
moment. I am trying to use the kernel source without modification so
that it can easily be updated as bugs are fixed in the kernel.
I hit a snag with CodeWarrior 9 trying to compile this from the
m68k/endian.h header file:
typedef u_int32_t in_addr_t;
typedef u_int16_t in_port_t;
__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
Anyone know what this means to GNU C, and how to simulate it?
> One way to get some of this might be:
>
> 3) Support for a two-stage boot--put a boot block in the
> filesystem, enough information to load that into a boot block
> at the head of the partition, and just use that to load the
> boot loader.
Good idea. I think we still need a lot of the stuff from the
MacOS (i.e. all of the environment variables that the Booter passes to
the kernel), but once that information has been produced for a particular
Mac setup, it could be written onto the disk for the boot loader to use.
--
| 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 |