Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2003 22:05:17 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        freebsd-arch@FreeBSD.ORG
Subject:   Re: [RFC] splitting of conf/NOTES
Message-ID:  <20030224060517.GA9757@dhcp53.pn.xcllnt.net>
In-Reply-To: <20030224052909.GA6020@dragon.nuxi.com>
References:  <20030224001644.GA67255@dragon.nuxi.com> <20030224120037.D4403-100000@gamplex.bde.org> <20030224023118.GD67312@dragon.nuxi.com> <20030224040250.GA19558@athlon.pn.xcllnt.net> <20030224052909.GA6020@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 23, 2003 at 09:29:09PM -0800, David O'Brien wrote:
> 
> > \begin{snippet}
> > Index: sparc64/isa/isa_dma.c
> > ===================================================================
> > RCS file: sparc64/isa/isa_dma.c
> > diff -N sparc64/isa/isa_dma.c
> > --- /dev/null	1 Jan 1970 00:00:00 -0000
> > +++ sparc64/isa/isa_dma.c	23 Feb 2003 23:12:42 -0000
> > @@ -0,0 +1,105 @@
> > \end{snippet}
> > 
> > This file appears to be glue only. We really should get rid of
> > our isa/legacy infected MI code so that we don't have to pollute
> > new architectures with this.
> 
> It is.  Jake seems violently opposed to this.  I wish we would come to an
> agreement that LINT should compile every piece of code, or just code that
> could reasonably be expected to work on said platform.

I think we can only have platform specific LINTs. A single LINT that
compiles every piece of code must be able to compile all existing
pmap.c, machdep.c and other overlapping MD files in a single kernel.
Obviously an impossibility in this universe.
I think the hard part is: can we work with the elementary MD/MI
distinction we have now, or do we need to have a more fine grained
selection mechanism and if the latter, what?

Take for example powerpc or mips, do we need to distinguish between
little-endian and big-endian kernels? Do we need a selection based
on platform (rather than just architecture)?

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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