ICInvalidateRange

Syntax

#include <revolution/os.h>

void ICInvalidateRange(void* startAddr, u32 nBytes);

Arguments

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

Return Values

None.

Description

Invalidates a specified range in the instruction cache. The cache data block hit in the instruction cache for the specified range is invalidated. The startAddr argument is truncated at a 32-byte boundary. The end address, startAddr + nBytes, is rounded up to the nearest 32-byte boundary.( Note that if the cache is disabled or frozen (through ICFreeze), this command will still execute. Furthermore, invalidation requests are not sent to the L2 or data caches.

See Also

Cache Functions, DCFlushRange, DCInvalidateRange, DCStoreRange

Revision History

2006/03/01 Initial version.


CONFIDENTIAL