On Wed, Apr 11, 2001 at 01:12:28AM +0200, Klaus Borchers wrote:
> Unless this changed from Kernel 2.2 to 2,4, I think the main problem is that
> /dev/mem only maps physical *RAM* (0xc0000000 + xMb, possibly with holes in it
> if you use several banks on an SA1110).

No.  You can map any physical address using /dev/mem.  Pass the physical
address as the offset in your mmap() call.  In order for it not to be cached
or buffered, open /dev/mem with the O_SYNC flag.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        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.

Reply via email to