#include <nitro/os.h>
void IC_PrefetchRange( const void* startAddr, u32 nBytes );
startAddr | Lowest address in the prefetch region |
nBytes | Number of bytes in the prefetch region |
None.
This function prefetches the instruction code of the specified region into the instruction cache.
startAddr is rounded down to the closest 32-byte boundary. The sum of startAddr + nBytes is rounded up to the closest 32-byte boundary.
Operates register 7 of the system control coprocessor.
This function divides the specified range into cache-line units and repeats its operation. Thus the amount of time it takes is proportional to the size of the range.
IC_InvalidateRange, IC_LockdownRange
2005/11/14 Changed the type of startAddr
to const void*
.
2005/04/19 Added a description of the reason why processing time is proportional to the size of the memory region.
2003/12/22 Initial version.
CONFIDENTIAL