Call pmap_pte_init_arm9 instead of pmap_pte_init_generic if
ARM9_CACHE_WRITE_THROUGH is defined.
This commit is contained in:
parent
1aafbc01f9
commit
1214c18d4e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137270
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user