# DC_Disable

## C Specification

      #include <nitro/os.h>

      BOOL DC_Disable( void );

## Description

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. Therefore, this could cause unforeseen problems, so do not prohibit the use of cache under normal conditions.

## Internal Operation

Operates register 1 of the system control coprocessor.

## Arguments

None.

## Return Values

Previous permission/prohibition setting for data cache use.

## See Also

`DC_Enable, DC_Restore
`

## Revision History

02/09/2004 Added caution concerning prohibiting the use of cache
12/22/2003 Initial Version