ppc-sam440: Use Write-Through caching for main memory.
commit55ef188889b51d6706e2a337c8a62d0813e5ba77
authorjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 7 Jan 2013 04:24:04 +0000 (7 04:24 +0000)
committerjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 7 Jan 2013 04:24:04 +0000 (7 04:24 +0000)
treeb96b4738233af699ed7e5dfeef440200812de1d1
parent45d7a324254922aa5f21dab1f0b206792718db31
ppc-sam440: Use Write-Through caching for main memory.

Although this will slow down the system, it also means that
AmigaOS drivers/programs do *not* need to special case usage of
CacheClearE() for AROS Sam4xx PowerPC systems.

With WriteThrough enabled for main memory, all CACF_InvalidateD
are safe, since any 'surrounding' data will have already been
written to main memory.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@46225 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
arch/ppc-sam440/kernel/mmu.c