#include <nitro/os.h>
BOOL DC_Disable( void );
None.
Previous permission/prohibition setting for data cache use.
This function prohibits use of all data cache.
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.
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, do not prohibit the use of caching.
Operates register 1 of the system control coprocessor.
2004/02/09 Added caution concerning prohibiting the use of cache
2003/12/22 Initial version.
CONFIDENTIAL