]> Zhao Yanbai Git Server - minix.git/commitdiff
arm:caching clean caches before setting up mappings. 52/852/2
authorKees Jongenburger <kees.jongenburger@gmail.com>
Wed, 25 Sep 2013 08:47:57 +0000 (10:47 +0200)
committerKees Jongenburger <kees.jongenburger@gmail.com>
Thu, 26 Sep 2013 10:11:29 +0000 (12:11 +0200)
Change-Id: I9ff1bb04ea9c0adeb76e5176526448d93bfe29f5

kernel/arch/earm/pre_init.c

index d311c28c1c92e94c7dc6a937b0efc3262c8a21ac..8e27cd900b7948dbada2d021259e1235f0b6d490 100644 (file)
@@ -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();