FlushDataCache

nn::dsp::CTR::FlushDataCache Function

Syntax

nn::Result FlushDataCache(
     uptr addr,
     size_t size
);

Parameters

Name Description
in addr Starting address.
in size Size.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
Result::IsSuccess Process was successful.
ResultNotInitialized The library is not initialized.

Description

Writes data for the specified cache range back into memory and invalidates the cache.

The operation of this function is not guaranteed except for use with the DSP.

Depending on the system load, it may take several milliseconds for control to return from this function. Although the thread that called this function will stop during this time, other threads can still execute. We recommend that you do not call this function from a thread with severe timing restrictions.

Revision History

2011/07/28
Added information about the execution time.
2010/01/29
Initial version.

CONFIDENTIAL