#include <revolution/os.h> void DCZeroRange(void* startAddr, u32 nBytes);
startAddr |
Effective address (not the physical address) . |
|---|---|
nBytes |
Size of region to be cleared. |
None.
Loads a range into cache and zeroes out all the cache blocks. 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.
Be aware that even if the cache is frozen using the DCFreeze function, this command will still execute. However, if the cache is disabled, an alignment exception will be generated.
Cache Functions, DCFlushRange, DCInvalidateRange, ICInvalidateRange, DCStoreRange
2006/03/01 Initial version.
CONFIDENTIAL