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>DCFreeze</title>
10</head>
11
12<body>
13
14<h1>DCFreeze</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/os.h&gt;
19
20void DCFreeze ( void );
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<p>None.</p>
25
26<h2>Return Values</h2>
27<p>None.</p>
28
29<h2>Description</h2>
30<p>Locks the current contents of the L1 data cache so they cannot be invalidated. Hits are still serviced, but misses go straight to L2 cache or 60x bus.&nbsp;Regardless of whether the cache is frozen, most cache operations (for example, <code><a href="DCFlushRange.html">DCFlushRange</a></code>) will still execute.</p>
31
32<p>In PowerPC architecture jargon, this feature is referred to as locking the data cache.&nbsp;We use the word &quot;freeze&quot; for the Wii to distinguish between the locked cache and DMA features.</p>
33
34<h2>See Also</h2>
35<P class="reference">
36<A href="../toc.html#Cache" target="contents">Cache Functions</A>,
37<a href="DCUnfreeze.html">DCUnfreeze</a>,
38<a href="ICFreeze.html">ICFreeze</a>,
39<a href="ICUnfreeze.html">ICUnfreeze</a>
40</p>
41
42<h2>Revision History</h2>
43<P>
442006/03/01 Initial version.<br>
45</p>
46
47<hr><p>CONFIDENTIAL</p></body>
48</html>