#include <revolution/os.h> void DCTouchRange(void* startAddr, u32 nBytes);
startAddr |
Effective address (not the physical address) . |
|---|---|
nBytes |
Size of the region to be loaded. |
None.
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.
Cache Functions, DCFlushRange, DCInvalidateRange, ICInvalidateRange, DCStoreRange, DCZeroRange
2006/03/01 Initial version.
CONFIDENTIAL