Call pmap_pte_init_arm9 instead of pmap_pte_init_generic if

ARM9_CACHE_WRITE_THROUGH is defined.
This commit is contained in:
Olivier Houchard 2004-11-05 19:48:40 +00:00
parent 1aafbc01f9
commit 1214c18d4e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137270

View File

@ -973,7 +973,11 @@ set_cpufuncs()
cpufuncs = arm9_cpufuncs;
cpu_reset_needs_v4_MMU_disable = 1; /* V4 or higher */
get_cachetype_cp15();
#ifdef ARM9_CACHE_WRITE_THROUGH
pmap_pte_init_arm9();
#else
pmap_pte_init_generic();
#endif
return 0;
}
#endif /* CPU_ARM9 */