DC_Restore

C Specification

#include <nitro/os.h>
BOOL DC_Restore( BOOL enable );

Arguments

enable Value to set whether instruction cache use is permitted/prohibited

Return Values

Previous permission/prohibition setting for data cache use.

Description

This function permits or prohibits use of all data cache. When enable is TRUE, use is permitted; when it is FALSE, use is prohibited. 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.

In most cases, do not prohibit the use of the cache.(See DC_Disable.)

Internal Operation

Operates register 1 of the system control coprocessor.

See Also

DC_Enable, DC_Disable

Revision History

12/22/2003 Initial version.