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>DCStoreRangeNoSync</title> 10</head> 11 12<body> 13 14<h1>DCStoreRangeNoSync</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/os.h> 19 20void DCStoreRangeNoSync(void* startAddr, u32 nBytes); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<TH><STRONG><EM><CODE>startAddr</CODE></EM></STRONG></TH> 27<TD>Effective address (not the physical address) .</TD> 28 </tr> 29 <tr> 30<TH><STRONG><EM><CODE>nBytes</CODE></EM></STRONG></TH> 31<TD>Size of region to be stored.</TD> 32 </tr> 33</TABLE> 34 35<h2>Return Values</h2> 36<p>None.</p> 37 38<h2>Description</h2> 39<p>Securely updates specified memory range with modified data in the cache. The <SPAN class="argument">startAddr</SPAN> argument will be rounded down to the closest 32-byte boundary, while the end address (<SPAN class="argument">startAddr</SPAN> + <SPAN class="argument">nBytes</SPAN>) will be rounded up to the closest 32-byte boundary.</p> 40 41<p>Be aware that even if the cache is disabled or frozen (via the <a href="DCFreeze.html"><code>DCFreeze</code></a> function), this command will still execute.</p> 42 43<p>This function doesn't perform a sync to ensure that the range has been stored in memory. In other words, the cache blocks are sent to the bus interface unit to be stored in main memory; but by the time this function returns, the blocks are not guaranteed to have been written to memory. If your code must know that the data is stored in main memory, call the <a href="../Synchronization/PPCSync.html"><code>PPCSync</code></a> function after calling the <code>DCStoreRangeNoSync</code> function for all the memory to flush. Be aware that DMA transfers into and out of the locked cache are not affected by the <a href="../Synchronization/PPCSync.html"><code>PPCSync</code></a> function.</p> 44 45<h2>See Also</h2> 46<P class="reference"> 47<A href="../toc.html#Cache" target="contents">Cache Functions</A>, 48<a href="DCStoreRange.html">DCStoreRange</code></a>, 49<a href="DCFlushRange.html">DCFlushRange</code></a>, 50<a href="DCFlushRangeNoSync.html">DCFlushRangeNoSync</code></a>, 51<a href="DCInvalidateRange.html">DCInvalidateRange</code></a>, 52<a href="ICInvalidateRange.html">ICInvalidateRange</code></a>, 53<a href="../Synchronization/PPCSync.html">PPCSync</code></a> 54</p> 55 56<h2>Revision History</h2> 57<P> 582006/03/01 Initial version.<br> 59</p> 60 61<hr><p>CONFIDENTIAL</p></body> 62</html>