Haavard Skinnemoen 4d7d6936eb Introduce map_physmem() and unmap_physmem()
map_physmem() returns a virtual address which can be used to access a
given physical address without involving the cache. unmap_physmem()
should be called when the virtual address returned by map_physmem() is
no longer needed.

This patch adds a stub implementation which simply returns the
physical address cast to a uchar * for all architectures except AVR32,
which converts the physical address to an uncached virtual mapping.
unmap_physmem() is a no-op on all architectures, but if any
architecture needs to do such mappings through the TLB, this is the
hook where those TLB entries can be invalidated.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-13 13:15:16 +01:00
..
2007-09-17 08:19:08 +02:00
2007-11-15 08:46:46 -07:00
2007-08-14 18:42:36 +02:00
2007-11-17 01:38:58 +01:00
2007-11-26 19:18:21 +01:00
2007-08-10 19:21:35 -04:00
2007-08-13 23:22:31 -04:00
2007-09-17 08:19:08 +02:00
2007-10-23 16:40:40 +02:00
2007-07-20 15:03:03 +02:00
2007-07-10 00:01:28 +02:00
2007-10-13 21:15:39 +02:00