DCInvalidateRange

C Specification

#include <revolution/os.h>

void DCInvalidateRange(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 data cache range. The cache data block hit in the data cache for the specified range is invalidated. The startAddr argument will be rounded down to the closest 32-byte boundary, while the end address, i.e., startAddr + nBytes, will be rounded up to closest 32-byte boundary.

If the cache is disabled or frozen (using DCFreeze), this command will still execute. In this situation, the cache may be invalidated (what sort of processing will take place is unclear).

See Also

Cache Functions, DCFlushRange, DCStoreRange, ICInvalidateRange

Revision History

2006/03/01 Initial version.


CONFIDENTIAL