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-08-08 09:47:43 +02:00
2007-08-08 09:47:43 +02:00
2007-08-16 17:43:20 -06:00
2007-08-08 09:47:38 +02:00
2007-08-16 17:43:20 -06:00
2007-08-16 17:43:20 -06:00
2007-08-16 17:43:20 -06:00
2007-08-16 17:43:20 -06:00
2004-02-12 00:47:09 +00:00
2007-08-16 17:43:23 -06:00
2007-08-16 17:43:20 -06:00
2003-12-08 01:34:36 +00:00
2007-08-16 17:43:23 -06:00
2007-07-10 14:29:10 -06:00