u-boot/include/asm-i386
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
..
ic * Code cleanup: 2003-06-27 21:31:46 +00:00
bitops.h * Code cleanup: 2003-06-27 21:31:46 +00:00
byteorder.h * Patch by Marc Singer, 29 May 2003: 2003-05-31 18:35:21 +00:00
global_data.h Added config option CONFIG_SILENT_CONSOLE. See doc/README.silent 2003-10-10 10:05:42 +00:00
i8254.h * Code cleanup: 2003-06-27 21:31:46 +00:00
i8259.h * Code cleanup: 2003-06-27 21:31:46 +00:00
ibmpc.h * Code cleanup: 2003-06-27 21:31:46 +00:00
io.h Introduce map_physmem() and unmap_physmem() 2007-12-13 13:15:16 +01:00
pci.h * Code cleanup: 2003-06-27 21:31:46 +00:00
posix_types.h * Patch by Daniel Engström, 13 Nov 2002: 2002-11-18 00:14:45 +00:00
processor.h * Code cleanup: 2003-06-27 21:31:46 +00:00
ptrace.h * Code cleanup: 2003-06-27 21:31:46 +00:00
realmode.h * Code cleanup: 2003-06-27 21:31:46 +00:00
string.h * Patch by Daniel Engström, 18 Nov 2002: 2002-11-19 23:01:07 +00:00
types.h * Code cleanup: 2003-06-27 21:31:46 +00:00
u-boot-i386.h * Patch by Marc Singer, 29 May 2003: 2003-05-31 18:35:21 +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
zimage.h * Code cleanup: 2003-06-27 21:31:46 +00:00