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_Disable</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">DC_Disable <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_Disable( void );</CODE></PRE> 17</DL> 18<H2>Arguments</H2> 19<P>None.</P> 20<H2>Return Values</H2> 21<P>Previous permission/prohibition setting for data cache use.</P> 22<H2>Description</H2> 23<P>This function prohibits use of all data cache.</P> 24<P>The return value is the use permission/prohibit setting for the data cache before this function is called. When TRUE, use of the cache was permitted; when FALSE, it was prohibited.</P> 25<P>Reading and writing the main memory in byte units will not function properly when data cache use is prohibited because the library were created on the assumption that the cache is enabled. Since all of the libraries were created under the assumption that caching is enabled, unexpected problems may occur due to this assumption. Therefore, <FONT color="#ff0000"> do not prohibit the use of caching.</FONT></P> 26<H2>Internal Operation</H2> 27<P>Operates register 1 of the system control coprocessor.</P> 28<H2>See Also</H2> 29<P><CODE><A href="DC_Enable.html">DC_Enable</A>, <A href="DC_Restore.html">DC_Restore</A><BR></CODE></P> 30<H2>Revision History</H2> 31<P>2004/02/09 Added caution concerning prohibiting the use of cache<BR>2003/12/22 Initial version.</P> 32<hr><p>CONFIDENTIAL</p></body> 33</HTML>