u-boot/include/asm-nios
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 * Patch by Scott McNutt, 04 Oct 2003: 2003-10-08 23:26:14 +00:00
byteorder.h * Patches by Xianghua Xiao, 15 Oct 2003: 2003-10-15 23:53:47 +00:00
cache.h * Patches by Reinhard Meyer, 14 Feb 2004: 2004-02-23 22:22:28 +00:00
global_data.h * Patches by Reinhard Meyer, 14 Feb 2004: 2004-02-23 22:22:28 +00:00
io.h Introduce map_physmem() and unmap_physmem() 2007-12-13 13:15:16 +01:00
posix_types.h * Patch by Scott McNutt, 04 Oct 2003: 2003-10-08 23:26:14 +00:00
processor.h * Patch by Scott McNutt, 04 Oct 2003: 2003-10-08 23:26:14 +00:00
psr.h * Patches by Xianghua Xiao, 15 Oct 2003: 2003-10-15 23:53:47 +00:00
ptrace.h * Patch by Scott McNutt, 04 Oct 2003: 2003-10-08 23:26:14 +00:00
status_led.h Patches by Stephan Linz, 11 Dec 2003: 2004-01-03 19:43:48 +00:00
string.h * Patch by Scott McNutt, 04 Oct 2003: 2003-10-08 23:26:14 +00:00
system.h * Patch by Scott McNutt, 04 Oct 2003: 2003-10-08 23:26:14 +00:00
types.h * Patch by Scott McNutt, 04 Oct 2003: 2003-10-08 23:26:14 +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