1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>ICInvalidateRange</title> 10</head> 11 12<body> 13 14<h1>ICInvalidateRange</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20<dd><pre><code>#include <revolution/os.h></code></pre> 21 </dd> 22<dd><pre><code>void ICInvalidateRange(void* startAddr, u32 nBytes);</code></pre> 23 </dd> 24</dl> 25<H2>Arguments</H2> 26<TABLE border="1" cellpadding="3" cellspacing="0.1"> 27 <TBODY> 28 <TR> 29<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE><STRONG><EM><CODE>startAddr</CODE></EM></STRONG></CODE></STRONG></EM></TD> 30<TD width="520">Effective address (not the physical address) .</TD> 31 </TR> 32 <TR> 33<TD width="120" bgcolor="#ffffe8"><STRONG><EM><CODE><STRONG><EM><CODE>nBytes</CODE></EM></STRONG></CODE></EM></STRONG></TD> 34<TD>Size of range to invalidate.</TD> 35 </TR> 36 </TBODY> 37</TABLE> 38<H2>Return Values</H2> 39<P>None.</P> 40<h2>Description</h2> 41 42<p>Invalidates a specified range in the instruction cache. The cache data block hit in the instruction cache for the specified range is invalidated. The <CODE><STRONG><EM>startAddr</EM></STRONG></CODE> argument is truncated to a 32-byte boundary. The final address (<CODE><STRONG><EM>startAddr</EM></STRONG></CODE> + <STRONG><EM><CODE>nBytes</CODE></EM></STRONG>), is rounded up to a 32-byte boundary. This command will execute even if the cache is locked (using the <a href="ICFreeze.html"><code>ICFreeze</code></a> function). Furthermore, the requests to invalidate are not passed onto the L2 or data caches.</p> 43 44<p></p> 45 46<h2>See Also</h2> 47 48<p><a href="../list.html#Cache" target="contents">Cache Functions</a>, <br> <code><a href="DCFlushRange.html">DCFlushRange</a></code>, <code><a href="DCInvalidateRange.html">DCInvalidateRange</code></a>, <a href="DCStoreRange.html">DCStoreRange</a></code></p> 49 50<h2>Revision History</h2> 51<P>03/01/2006 Initial version.</p> 52</body> 53</html>