This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: MPC860, instruction cache & ethernet
- To: Ross Wightman <rwightma at sfu dot ca>
- Subject: Re: [ECOS] MPC860, instruction cache & ethernet
- From: Jesper Skov <jskov at redhat dot com>
- Date: 09 Dec 2000 10:28:55 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- References: <200012090054.eB90sdo28180@rm-rstar.sfu.ca>
>>>>> "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