[ECOS] MPC860, instruction cache & ethernet

Jesper Skov jskov@redhat.com
Sat Dec 9 01:29:00 GMT 2000


>>>>> "Ross" == Ross Wightman <rwightma@sfu.ca> writes:

Ross> Is the startup code the correct location to turn on the caches
Ross> or should I use the HAL_XCACHE_ENABLE macros somewhere else?

You should change the plf_cache.h code from:

#ifdef CYGSEM_HAL_ROM_MONITOR
# define CYGPRI_INIT_CACHES
# define CYGPRI_ENABLE_CACHES
#endif

to

#define CYGPRI_INIT_CACHES
#define CYGPRI_ENABLE_CACHES

I don't know if it'll work though. And I don't know why caches are
only enabled for ROM monitor in the current sources.

Jesper


More information about the Ecos-discuss mailing list