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<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/os.h> 19 20void DCInvalidateRange(void* startAddr, u32 nBytes); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<TH>startAddr</TH> 27<TD>Effective address (not the physical address).</TD> 28 </tr> 29 <tr> 30<TH>nBytes</TH> 31<TD>Size of range to invalidate.</TD> 32 </tr> 33</TABLE> 34 35<h2>Return Values</h2> 36<p>None.</p> 37 38<h2>Description</h2> 39<p>Invalidates a specified region. For the portion of the specified region that hits the data cache, that cache data will be invalidated. Invalidation is performed with the <SPAN class="argument">startAddr</SPAN> argument rounded down to the closest 32-byte boundary. The end address of the target region, <SPAN class="argument">startAddr</SPAN> + <SPAN class="argument">nBytes</SPAN>, will be rounded up for invalidation.</p> 40 41<p> ( Note that if the cache is disabled or frozen (through <code><a href="DCFreeze.html">DCFreeze</a></code>), this command will still execute. There is a possibility that the cache may actually be invalidated at this time (it is unclear what processing will be performed).</p> 42 43<h2>See Also</h2> 44<P class="reference"> 45<A href="../toc.html#Cache" target="contents">Cache Functions</A>, 46<a href="DCFlushRange.html">DCFlushRange</a>, 47<a href="DCStoreRange.html">DCStoreRange</a>, 48<a href="ICInvalidateRange.html">ICInvalidateRange</a> 49</p> 50 51<h2>Revision History</h2> 52<P> 532006/03/01 Initial version.<br> 54</p> 55 56<hr><p>CONFIDENTIAL</p></body> 57</html>