Re: how to clear the D_cache and I_cache in the MIPS linux ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux