DC_Restore

Syntax

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

Arguments

enable Value of data cache permission/prohibition setting.

Return Values

Previous permission/prohibition setting for data cache use.

Description

This function permits or prohibits the use of all data caches.

When enable is TRUE, use is permitted; when it is FALSE, use is prohibited.

The return value is the data cache permission/prohibition setting before this function was called. When the return value is TRUE, use of caching was permitted; when FALSE, it was prohibited.

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

Internal Operation

Operates register 1 of the system control coprocessor.

See Also

DC_Enable, DC_Disable

Revision History

2003/12/22 Initial version.


CONFIDENTIAL