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>DCInvalidateRange</title> 10</head> 11 12<body> 13 14<h1>DCInvalidateRange</h1> 15 16 17<h2>C Specification</h2> 18<BLOCKQUOTE> 19<pre><CODE>#include <revolution/os.h> 20 21void DCInvalidateRange(void* startAddr, u32 nBytes);</CODE></pre> 22</BLOCKQUOTE> 23<h2>Arguments</h2> 24<TABLE border="1" cellpadding="3" cellspacing="0.1"> 25 <tr> 26<TD width="120" bgcolor="#ffffe8"><em><strong><code><STRONG><EM><CODE>startAddr</CODE></EM></STRONG></code></strong></em></TD> 27<TD width="520">Effective address (not the physical address) .</TD> 28 </tr> 29 <tr> 30<TD width="120" bgcolor="#ffffe8"><strong><em><code><STRONG><EM><CODE>nBytes</CODE></EM></STRONG></code></em></strong></TD> 31<TD width="520">Size of range to invalidate.</TD> 32 </tr> 33</TABLE> 34<h2>Return Values</h2> 35 36<p>None.</p> 37<h2>Description</h2> 38 39<p>Invalidates a specified data cache range. The cache data block hit in the data cache for the specified range is invalidated. The <code><strong><em>startAddr</em></strong></code> argument will be rounded down to the closest 32-byte boundary, while the end address, i.e., <code><strong><em>startAddr</em></strong></code><i> + </i><strong><em><code>nBytes</code></em></strong>, will be rounded up to closest 32-byte boundary.</p> 40 41<p>If the cache is disabled or frozen (using <code><a href="DCFreeze.html">DCFreeze</a></code>), this command will still execute. In this situation, the cache may be invalidated (what sort of processing will take place is unclear).</p> 42 43<p></p> 44 45<h2>See Also</h2> 46 47<p><a href="../toc.html#Cache" target="contents">Cache Functions</a>, <code><a href="DCFlushRange.html">DCFlushRange</a></code>, <a href="DCStoreRange.html"><code>DCStoreRange</code></a>, <code><a href="ICInvalidateRange.html">ICInvalidateRange</a></code></p> 48 49<h2>Revision History</h2><p></p> 50 51<P>2006/03/01 Initial version.</p> 52 53<hr> 54<P>CONFIDENTIAL</p> 55</BODY> 56</HTML>