ARM9E missing l2cache_* entries

Rafal Jaworowski raj at semihalf.com
Thu Nov 8 05:15:13 PST 2007


Hi,

It seems there are missing entries for the l2cache_* calls in current
armv5_ec_cpufuncs initialization:

--- a/src/sys/arm/arm/cpufunc.c
+++ b/src/sys/arm/arm/cpufunc.c
@@ -332,6 +332,10 @@ struct cpu_functions armv5_ec_cpufuncs =

        armv5_ec_idcache_wbinv_all,     /* idcache_wbinv_all    */
        armv5_ec_idcache_wbinv_range,   /* idcache_wbinv_range  */
+       cpufunc_nullop,                 /* l2cache_wbinv_all    */
+       (void *)cpufunc_nullop,         /* l2cache_wbinv_range  */
+       (void *)cpufunc_nullop,         /* l2cache_inv_range    */
+       (void *)cpufunc_nullop,         /* l2cache_wb_range     */

        /* Other functions */


BTW: is really both CPU_ARM9 and CPU_ARM9E needed like we have in the
sys/arm/at91/std.at91? I'm a bit confused when looking at the cpufunc.c if
they are meant mutually exclusive or not?

Rafal


More information about the freebsd-arm mailing list