On Wed, Apr 22, 2009 at 12:50:36PM +0200, Arnaud Patard wrote: > fredtan <tanflying@xxxxxxxxx> writes: > > > D_CACHE,then invalidate I_CACHE,then run the code. My MIPS does not have > > SYNCI instruction,Cache > > > > instruction is a privilege instruction, the program has no right to use it. > > So , What can I do ? > > use cacheflush() It is preferable to always use cacheflush(). The plan is to eventually enhance the cacheflush(3) library function to use SYNCI as applicable for a particular platform. Ralf