This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: MPC860, instruction cache & ethernet


>>>>> "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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]