Subject: Re: need advice regarding Au 1550 (MIPS) memory mapping
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Andrey Petrov <petrov@netbsd.org>
List: port-mips
Date: 09/30/2005 11:33:24
On Fri, Sep 30, 2005 at 09:08:07AM -0700, Garrett D'Amore wrote:
> Thanks for the advice.  It looks like I need to change the size of 
> paddr_t, to accomodate a larger 36-bit value.  (The ARC port already 
> does this, though I don't know why it needs 64-bit values here.)
> 

If you need 36-bit address (constant prefixes even) only for PCI access then
likely you can work it out in your bus_.. functions. And that wouldn't justify
larger paddr_t and new port, I understand temptation thou -)

> I believe this means I have to create a new port, so that I can provide 
> my own types.h to override the size of the paddr_t, just like the ARC 
> port does.  I'm proposing that this port be called "aumips".
> 
> Does anyone have any advice about the wisdom of this course of action?  
> Any suggestions for better courses?
> 
>    -- Garrett
>