* De: Mike Barcroft <[EMAIL PROTECTED]> [ Data: 2003-01-28 ]
        [ Subjecte: Re: Patch to teach config(8) about "platforms". ]
> Benno Rice <[EMAIL PROTECTED]> writes:
> > On Wed, 2003-01-29 at 11:18, Juli Mallett wrote:
> > > * De: Juli Mallett <[EMAIL PROTECTED]> [ Data: 2003-01-28 ]
> > >   [ Subjecte: Re: Patch to teach config(8) about "platforms". ]
> > > 
> > > In short, platform provides machinery for a single port of FreeBSD
> > > which represents exactly one MACHINE_ARCH to support a numbe of
> > > different hardware platforms - MACHINE - under a unified system,
> > > without interfering with how anything works, and without doing it in
> > > a convoluted/imho-backwards way.  There is not a way to mix MACHINE
> > > and MACHINE_ARCH within a single port, as it is now.  You have to
> > > duplicate things like pc98 does.
> > 
> > I'd also like to point out that PowerPC will benefit greatly from this. 
> > PowerPC platforms vary wildly in how they do various things (incl.
> > endianness in some cases) and so this provides a much cleaner mechanism
> > to select a set of platform "quirks" than trying to do what i386/pc98
> > do.
> 
> Perhaps if we could see PC98 converted to this design the advantages
> would become obvious.

That would be an interesting idea, but I don't know if the pc98 people feel
like it.  One of them voiced dislike for having lots of #ifdef code, as
you may have seen, so I don't know.  Unless we can convince them that that
is cleaner and that pc98 is not a first-class port itself, which I doubt
is very likely.  Note that when I say first-class, I mean "wholly unique
architecture which should define everything", e.g. sparc64 or alpha.
-- 
Juli Mallett <[EMAIL PROTECTED]>
AIM: BSDFlata -- IRC: juli on EFnet
OpenDarwin, Mono, FreeBSD Developer
ircd-hybrid Developer, EFnet addict
FreeBSD on MIPS-Anything on FreeBSD

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to