[Top] [All Lists]

Re: Embedded MIPS/Linux Needs

To: Joe deBlaquiere <>
Subject: Re: Embedded MIPS/Linux Needs
From: Jun Sun <>
Date: Mon, 26 Mar 2001 15:24:11 -0800
Cc: Florian Lohoff <>, "Kevin D. Kissell" <>,
References: <00eb01c0b2c6$02c7ef60$0deca8c0@Ulysses> <> <> <>
Joe deBlaquiere wrote:

> > Why would you suggest having vr41 and TX39 in a seperat tree ? I had a
> > look in the linux-vr tree and i dont like some of their #ifdef spaghetti
> > stuff so i am currently working on TX39 stuff on top of the oss tree
> > which could be made cleanly. (Dont integrate all TX39 archs into one
> > subarch *grrr*)
> >
> It's kinda ugly, but some of that is that the original architecture didn't 
> scale to having many different target platforms. I think a little sane 
> multi-platform infrastructure would make things cleaner and better in the 
> future.

I was trying to move Vr41xx from linux-vr to oss tree and found a couple of
problems.  The most serious one that is that NEC Vr41xx TLB entry format is
slightly different from all other R4K-compatible CPUs.  Fixing this requires
either an ugly #ifdef in some common header files, or massively code
re-writing for all TLB related stuff.  Neither one is good.

I actually worked out a patch based on #ifdef approach, but a little too
"shameful" to submit it.  My feeling is that we need to separate TLB code from
cache code and introduce some way to plug in different TLB codes.  Then we can
get V41xx integrated nicely.


<Prev in Thread] Current Thread [Next in Thread>