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...)
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King [EMAIL PROTECTED] --- ---
| | | | http://www.arm.linux.org.uk/ / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.