9
0
Fork 0
barebox/arch/nios2/include/asm
Sascha Hauer b792124a7d rework remap_range
remap_range is for remapping regions with different cache attributes.
It is implemented for ARM and PowerPC only, the other architectures only
provide stubs.
Currently the new cache attributes are passed in an architecture specific
way and the attributes have to be retrieved by calls to
mmu_get_pte_cached_flags() and mmu_get_pte_uncached_flags().
Make this simpler by providing architecture independent flags which can
be directly passed to remap_range()
Also provide a MAP_ARCH_DEFAULT flag and a arch_can_remap() function.
The MAP_ARCH_DEFAULT defaults to whatever caching type the architecture
has as default. the arch_can_remap() function returns true if the
architecture can change the cache attributes, false otherwise. This
allows the memtest code to better find out what it has to do.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-11-03 07:27:44 +01:00
..
barebox.h Add Nios2 arch support to barebox 2011-03-30 23:22:35 +02:00
bitops.h consistently use the same bitops.h file 2014-07-17 07:43:58 +02:00
bitsperlong.h Add Nios2 arch support to barebox 2011-03-30 23:22:35 +02:00
byteorder.h Add Nios2 arch support to barebox 2011-03-30 23:22:35 +02:00
cache.h Add Nios2 arch support to barebox 2011-03-30 23:22:35 +02:00
common.h Add Nios2 arch support to barebox 2011-03-30 23:22:35 +02:00
dma-mapping.h NIOS2: use dma_addr_t in dma_alloc_coherent 2015-03-06 07:51:47 +01:00
dma.h nios: add dma_alloc, asm/dma.h 2012-06-30 12:46:25 +02:00
early_printf.h Add Nios2 arch support to barebox 2011-03-30 23:22:35 +02:00
elf.h Add Nios2 arch support to barebox 2011-03-30 23:22:35 +02:00
int-ll64.h Add Nios2 arch support to barebox 2011-03-30 23:22:35 +02:00
io.h common: Allow for I/O mapped I/O 2014-04-08 08:17:55 +02:00
mmu.h rework remap_range 2015-11-03 07:27:44 +01:00
nios2-io.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
nios2.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
opcodes.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
posix_types.h nios2: use generic posix_types.h 2015-06-03 09:53:58 +02:00
ptrace.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
sections.h Add Nios2 arch support to barebox 2011-03-30 23:22:35 +02:00
spi.h spi/altera_spi: Add cs_change support 2011-11-25 12:38:34 +01:00
string.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
swab.h Add Nios2 arch support to barebox 2011-03-30 23:22:35 +02:00
system.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
types.h dma: Use generic place for dma_addr_t typedef 2015-05-22 08:00:48 +02:00
unaligned.h nios2: Include asm/unaligned.h 2011-11-24 10:36:17 +01:00