original_kernel/arch/sh/mm
Matt Fleming 3d467676ab sh: Setup early PMB mappings.
More and more boards are going to start shipping that boot with the MMU
in 32BIT mode by default. Previously we relied on the bootloader to
setup PMB mappings for use by the kernel but we also need to cater for
boards whose bootloaders don't set them up.

If CONFIG_PMB_LEGACY is not enabled we have full control over our PMB
mappings and can compress our address space. Usually, the distance
between the the cached and uncached mappings of RAM is always 512MB,
however we can compress the distance to be the amount of RAM on the
board.

pmb_init() now becomes much simpler. It no longer has to calculate any
mappings, it just has to synchronise the software PMB table with the
hardware.

Tested on SDK7786 and SH7785LCR.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-01-18 19:33:10 +09:00
..
Kconfig sh: default to extended TLB support. 2010-01-13 19:11:14 +09:00
Makefile sh: fixed PMB mode refactoring. 2010-01-13 18:31:48 +09:00
alignment.c sh: Split out the unaligned counters and user bits. 2010-01-12 16:12:25 +09:00
asids-debugfs.c
cache-debugfs.c
cache-sh2.c
cache-sh2a.c
cache-sh3.c
cache-sh4.c sh: Optimise flush_dcache_page() on SH4 2010-01-02 00:51:52 +00:00
cache-sh5.c
cache-sh7705.c
cache.c sh: Guard against early IPIs in flush_cache_all(). 2010-01-15 14:21:37 +09:00
consistent.c
extable_32.c
extable_64.c
fault_32.c sh: Definitions for 3-level page table layout 2009-12-17 14:31:20 +09:00
fault_64.c
flush-sh4.c
hugetlbpage.c
init.c sh: Always provide thread_info allocators. 2010-01-12 19:01:11 +09:00
ioremap_32.c
ioremap_64.c
kmap.c
mmap.c
nommu.c sh: Fix up nommu build for out-of-line pgtable changes. 2010-01-06 14:45:14 +09:00
numa.c
pgtable.c sh: default to extended TLB support. 2010-01-13 19:11:14 +09:00
pmb.c sh: Setup early PMB mappings. 2010-01-18 19:33:10 +09:00
tlb-pteaex.c
tlb-sh3.c
tlb-sh4.c
tlb-sh5.c
tlbflush_32.c
tlbflush_64.c