arm:caching clean caches before setting up mappings.
Change-Id: I9ff1bb04ea9c0adeb76e5176526448d93bfe29f5
This commit is contained in:
parent
73ed75a454
commit
400e577fd5
1 changed files with 1 additions and 0 deletions
|
@ -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
|
* to where it should be; but first a 1:1 mapping so
|
||||||
* this code stays where it should be.
|
* this code stays where it should be.
|
||||||
*/
|
*/
|
||||||
|
dcache_clean(); /* clean the caches */
|
||||||
pg_clear();
|
pg_clear();
|
||||||
pg_identity(&kinfo);
|
pg_identity(&kinfo);
|
||||||
kinfo.freepde_start = pg_mapkernel();
|
kinfo.freepde_start = pg_mapkernel();
|
||||||
|
|
Loading…
Reference in a new issue