9
0
Fork 0
barebox/arch/sandbox/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 rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
bitops.h consistently use the same bitops.h file 2014-07-17 07:43:58 +02:00
bitsperlong.h introduce bitsperlong.h for remaining architectures 2015-06-03 09:53:56 +02:00
byteorder.h sandbox: asm/byteorder.h: fix guard macro name 2015-07-02 09:39:58 +02:00
common.h [SANDBOX] move include/asm-sandbox to arch/arm/include/sandbox 2009-10-22 14:21:28 +02:00
dma.h blackfin, mips, openrisc, ppc, sandbox, x86: add generic dma_alloc, dma_free inlines 2012-06-30 12:46:25 +02:00
elf.h sandbox: move ELFCLASS detection to asm/elf.h 2011-11-22 21:09:26 +01: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
posix_types.h sandbox: use generic posix_types.h 2015-06-03 09:53:58 +02:00
processor.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
ptrace.h [SANDBOX] move include/asm-sandbox to arch/arm/include/sandbox 2009-10-22 14:21:28 +02:00
sections.h add sections.h header file 2011-01-17 11:04:24 +01:00
string.h [SANDBOX] move include/asm-sandbox to arch/arm/include/sandbox 2009-10-22 14:21:28 +02:00
swab.h sandbox: make asm/swab.h nonempty 2011-04-25 12:22:02 +02:00
types.h introduce bitsperlong.h for remaining architectures 2015-06-03 09:53:56 +02:00
unaligned.h sandbox-unaligned: better usement of ifdef 2012-09-11 09:50:28 +02:00