FlushDataCache

nn::snd::CTR::FlushDataCache Function

Syntax

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

Arguments

Name Description
in addr Memory address.
in size Size of memory.

Return Values

Returns the function's execution result.

Description

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

This has the same behavior as nn::dsp::CTR::FlushDataCache.

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