u-boot/include/asm-nios2
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
..
bitops.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
byteorder.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
cache.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
global_data.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
io.h Introduce map_physmem() and unmap_physmem() 2007-12-13 13:15:16 +01:00
opcodes.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
posix_types.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
processor.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
psr.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
ptrace.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
status_led.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
string.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
system.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
types.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
u-boot.h Remove unnnecessary #include <linux/types.h> from include/asm-*/u-boot.h 2005-11-25 16:38:03 +01:00