Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 19:05:29 -0800
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Mike Barcroft <mike@FreeBSD.org>
Cc:        Benno Rice <benno@jeamland.net>, Marcel Moolenaar <marcel@xcllnt.net>, current@FreeBSD.ORG
Subject:   Re: Patch to teach config(8) about "platforms".
Message-ID:  <20030128190529.A16650@FreeBSD.org>
In-Reply-To: <20030128201322.A34456@espresso.q9media.com>; from mike@FreeBSD.org on Tue, Jan 28, 2003 at 08:13:22PM -0500
References:  <20030125153116.A25743@FreeBSD.org> <20030128.233856.71130419.nyan@jp.FreeBSD.org> <20030128120830.A81856@FreeBSD.org> <20030128225335.GB537@athlon.pn.xcllnt.net> <20030128151749.A831@FreeBSD.org> <20030128235528.GA844@athlon.pn.xcllnt.net> <20030128160936.A4252@FreeBSD.org> <20030128161808.A5579@FreeBSD.org> <1043799709.648.14.camel@localhost> <20030128201322.A34456@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* De: Mike Barcroft <mike@FreeBSD.org> [ Data: 2003-01-28 ]
	[ Subjecte: Re: Patch to teach config(8) about "platforms". ]
> Benno Rice <benno@jeamland.net> writes:
> > On Wed, 2003-01-29 at 11:18, Juli Mallett wrote:
> > > * De: Juli Mallett <jmallett@FreeBSD.org> [ 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 <jmallett@FreeBSD.org>
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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