DCTouchRange

C Specification

#include <revolution/os.h>

void DCTouchRange(void* startAddr, u32 nBytes);

Arguments

startAddr Effective address (not the physical address) .
nBytes Size of the range to load.

Return Values

None.

Description

Loads a memory range into cache. The startAddr argument is rounded down to a 32-byte boundary. The end address ( i.e., startAddr+ nBytes) is rounded up to a 32-byte boundary.

Note that if the cache is frozen using the DCFreeze function or disabled, this function will behave as a no-operation instruction (NO-OP).  Any part of the range where cache is prohibited or invalid will be ignored.

See Also

Cache Functions, DCFlushRange, DCInvalidateRange, ICInvalidateRange,DCStoreRange,DCZeroRange

Revision History

03/01/2006 Initial version.