On Wed, Apr 11, 2001 at 08:07:12PM +0200, Klaus Borchers wrote:
> However, virt_to_phys would convert IO-Adresses 0x9000???? to 0x8400????,
> which is somewhere in user-space.
Reading/writing /dev/mem is only valid for valid RAM memory regions.
mmaping /dev/mem works for any physical address.
> Does this all mean that reading /dev/mem gets something else as mmapping
> /dev/mem, or did I confuse something?
Both take physical RAM addresses for RAM regions. mmap allows a superset
of regions than that which read/write allows.
_____
|_____| ------------------------------------------------- ---+---+-
| | 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.