Re: Embedded MIPS/Linux Needs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Jun


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux