1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>IC_Unlockdown</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">IC_Unlockdown <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD>
15  <PRE><CODE>#include &lt;nitro/os.h&gt;</CODE></PRE>
16  <PRE><CODE>void IC_Unlockdown( u32 num );</CODE></PRE>
17</DL>
18<H2>Arguments</H2>
19<TABLE border="1" width="100%">
20  <TBODY>
21    <TR>
22      <TD width="13%"><EM><STRONG>num</STRONG></EM></TD>
23      <TD width="87%">Designates the number of lockdown blocks to deallocate.</TD>
24    </TR>
25  </TBODY>
26</TABLE>
27<H2>Return Values</H2>
28<P>None.</P>
29<H2>Description</H2>
30<P>Instruction cache can be locked with <A href="IC_LockdownRange.html"><CODE>IC_LockdownRange()</CODE></A>, which prevents the cache from being deleted. <code>IC_Unlockdown</code> releases the instruction cache to be deleted when the cache is replaced. This function releases, in order, a <EM><STRONG><CODE>num</CODE></STRONG></EM> number of lockdown blocks from the region that was last locked with the <A href="IC_LockdownRange.html"><CODE>IC_LockdownRange()</CODE></A> function. There are a maximum of three configurable lockdown blocks, so the maximum number of lockdown blocks designated with <EM><STRONG><CODE>num</CODE></STRONG></EM> is also three.
31</P>
32<H2>Internal Operation</H2>
33<P>Operates registers 7 and 9 of the system control coprocessor.</P>
34<H2>See Also</H2>
35<P><CODE><A href="IC_LockdownRange.html">IC_LockdownRange</A>,<A href="IC_UnlockdownAll.html">IC_UnlockdownAll</A></CODE></P>
36<H2>Revision History</H2>
37<P>2005/01/21 Initial version.</P>
38<hr><p>CONFIDENTIAL</p></body>
39</HTML>