From owner-freebsd-current Tue Jan 28 19: 5:30 2003 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 55BF737B401; Tue, 28 Jan 2003 19:05:29 -0800 (PST) Date: Tue, 28 Jan 2003 19:05:29 -0800 From: Juli Mallett To: Mike Barcroft Cc: Benno Rice , Marcel Moolenaar , current@FreeBSD.ORG Subject: Re: Patch to teach config(8) about "platforms". Message-ID: <20030128190529.A16650@FreeBSD.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030128201322.A34456@espresso.q9media.com>; from mike@FreeBSD.org on Tue, Jan 28, 2003 at 08:13:22PM -0500 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: Mike Barcroft [ Data: 2003-01-28 ] [ Subjecte: Re: Patch to teach config(8) about "platforms". ] > Benno Rice writes: > > On Wed, 2003-01-29 at 11:18, Juli Mallett wrote: > > > * De: Juli Mallett [ 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 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