On Fri, 6 Jul 2001, Russell King - ARM Linux wrote:

> On Fri, Jul 06, 2001 at 10:29:03AM -0600, John C. Bahr wrote:
> > Is there a way to ask for a specific portion of memory to be set up as
> > shared memory? I'm sure the issue becomes more complicated with the MMU.
> >
> > The reason I'm asking is I have some batery-backed up SRAM that I'd like to
> > set up as shared memory so multiple processes can access it.
>
> If you don't tell Linux about it (as far as the main memory goes) then Linux
> won't use it.  You can then use ioremap() with a physical address to get it
> into the MMU tables, and use {read,write}[bwl] to access it.
>
> (sa1100 folk note: We ought to be doing this for the flash as well...)

... except on targets where multiple flash banks are mapped contigously to
provide for a flash filesystem that can span over them.

Yet it has to be seen if there are still targets requiring this.



Nicolas


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to