> I'm developing some drivers for the AU1000 under
> Mountain Vista's 2.4.17 sherman release. The AU1000
is
> a MIPS based SOC with a 36 bit internal address bus
> and a 32 bit MIPS cpu. According to the
documentation
> the MIPS' TLB is able to map 32 bit virtual
addresses
> to 36 bit physical addresses, however I cannot
figure
> out how to get Linux to set this up. I've looked at
> ioremap which only takes unsigned long (32bits) as
an
> argument to assign a virtual address. Is there
> another way?
You should probably look at how CONFIG_HIGHMEM and
CONFIG_64BIT_PHYS_ADDR
support is implemented and add an option like
CONFIG_36BIT_PHYS_ADDR (or
just use CONFIG_HIGHMEM for that) plus a few necessary
bits to the mm code
so that ioremap() can make use of the additional bits.
It doesn't seem
too difficult to develop, but you may want to work on
a current snapshot
from the CVS.
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/