DCTouchRange

Syntax

#include <revolution/os.h>

void DCTouchRange(void* startAddr, u32 nBytes);

Arguments

startAddr Effective address (not the physical address) .
nBytes Size of the region to be loaded.

Return Values

None.

Description

Loads a memory range into cache. The startAddr argument will be rounded down to the closest 32-byte boundary, while the end address (startAddr + nBytes) will be rounded up to the closest 32-byte boundary.

Note that if the cache is frozen (via the DCFreeze function) or disabled, this routine will behave like a 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

2006/03/01 Initial version.


CONFIDENTIAL