linux-mips
[Top] [All Lists]

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

To: linux-mips@linux-mips.org
Subject: how to clear the D_cache and I_cache in the MIPS linux ?
From: fredtan <tanflying@gmail.com>
Date: Wed, 22 Apr 2009 02:08:13 -0700 (PDT)
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
      I am porting native‐code compilation to a JavaScript engine in the MIPS
platform.After the program 

finished dynamic and transparent binary translation,it first write back the
code into the memory from 

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 ?

Very grateful for any reply !!!
-- 
View this message in context: 
http://www.nabble.com/how-to-clear-the-D_cache-and-I_cache-in-the-MIPS-linux---tp23172497p23172497.html
Sent from the linux-mips main mailing list archive at Nabble.com.


<Prev in Thread] Current Thread [Next in Thread>