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>DC_Restore</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">DC_Restore <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 <nitro/os.h></CODE></PRE> 16 <PRE><CODE>BOOL DC_Restore( BOOL enable );</CODE></PRE> 17</DL> 18<H2>Arguments</H2> 19<TABLE border="1" width="100%"> 20 <TBODY> 21 <TR> 22 <TD width="13%"><EM><STRONG>enable</STRONG></EM></TD> 23 <TD width="87%">Value of data cache permission/prohibition setting.</TD> 24 </TR> 25 </TBODY> 26</TABLE> 27<H2>Return Values</H2> 28<P>Previous permission/prohibition setting for data cache use.</P> 29<H2>Description</H2> 30<P>This function permits or prohibits the use of all data caches.</P> 31<P>When <B><I>enable</I></B> is <code>TRUE</code>, use is permitted; when it is <code>FALSE</code>, use is prohibited.</P> 32<P>The return value is the data cache permission/prohibition setting before this function was called. When the return value is <CODE>TRUE</CODE>, use of caching was permitted; when <CODE>FALSE</CODE>, it was prohibited.</P> 33<P>In most cases, do not prohibit the use of caching.( See the <A href="DC_Disable.html"><CODE>DC_Disable</CODE></A> function.)</P> 34<H2>Internal Operation</H2> 35<P>Operates register 1 of the system control coprocessor.</P> 36<H2>See Also</H2> 37<P><CODE><A href="DC_Enable.html">DC_Enable</A>, <A href="DC_Disable.html">DC_Disable</A><BR></CODE></P> 38<H2>Revision History</H2> 39<P>2003/12/22 Initial version.</P> 40<hr><p>CONFIDENTIAL</p></body> 41</HTML>