Support high vectors for arm9.

Obtained from:	NetBSD
This commit is contained in:
Olivier Houchard 2005-02-18 17:29:12 +00:00
parent 0e963ec574
commit 1a34245881

View File

@ -1862,6 +1862,8 @@ arm9_setup(args)
#ifdef __ARMEB__ #ifdef __ARMEB__
cpuctrl |= CPU_CONTROL_BEND_ENABLE; cpuctrl |= CPU_CONTROL_BEND_ENABLE;
#endif #endif
if (vector_page == ARM_VECTORS_HIGH)
cpuctrl |= CPU_CONTROL_VECRELOC;
/* Clear out the cache */ /* Clear out the cache */
cpu_idcache_wbinv_all(); cpu_idcache_wbinv_all();