From: Kees Jongenburger Date: Wed, 25 Sep 2013 08:47:57 +0000 (+0200) Subject: arm:caching clean caches before setting up mappings. X-Git-Tag: v3.3.0~772 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch06.html?a=commitdiff_plain;h=refs%2Fchanges%2F52%2F852%2F2;p=minix.git arm:caching clean caches before setting up mappings. Change-Id: I9ff1bb04ea9c0adeb76e5176526448d93bfe29f5 --- diff --git a/kernel/arch/earm/pre_init.c b/kernel/arch/earm/pre_init.c index d311c28c1..8e27cd900 100644 --- a/kernel/arch/earm/pre_init.c +++ b/kernel/arch/earm/pre_init.c @@ -276,6 +276,7 @@ kinfo_t *pre_init(u32_t magic, u32_t ebx) * to where it should be; but first a 1:1 mapping so * this code stays where it should be. */ + dcache_clean(); /* clean the caches */ pg_clear(); pg_identity(&kinfo); kinfo.freepde_start = pg_mapkernel();