Fixes for ARM9/ARM10 :
Call uma_sel_align() there at well. Set CPU_CONTROL_VECRELOC if we're using the high vectors page. Submitted by: Rafal Jaworowski <raj AT semihalf DOT com> MFC After: 1 week
This commit is contained in:
parent
095daa921a
commit
43e23d1b4c
@ -939,7 +939,7 @@ set_cpufuncs()
|
||||
cpu_reset_needs_v4_MMU_disable = 1; /* V4 or higher */
|
||||
get_cachetype_cp15();
|
||||
pmap_pte_init_generic();
|
||||
return 0;
|
||||
goto out;
|
||||
}
|
||||
#endif /* CPU_ARM9E || CPU_ARM10 */
|
||||
#ifdef CPU_ARM10
|
||||
@ -1799,6 +1799,9 @@ arm10_setup(args)
|
||||
/* Now really make sure they are clean. */
|
||||
__asm __volatile ("mcr\tp15, 0, r0, c7, c7, 0" : : );
|
||||
|
||||
if (vector_page == ARM_VECTORS_HIGH)
|
||||
cpuctrl |= CPU_CONTROL_VECRELOC;
|
||||
|
||||
/* Set the control register */
|
||||
ctrl = cpuctrl;
|
||||
cpu_control(0xffffffff, cpuctrl);
|
||||
|
Loading…
x
Reference in New Issue
Block a user