DCInvalidateRange

Syntax

#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 region. For the portion of the specified region that hits the data cache, that cache data will be invalidated. Invalidation is performed with the startAddr argument rounded down to the closest 32-byte boundary. The end address of the target region, startAddr + nBytes, will be rounded up for invalidation.

( Note that if the cache is disabled or frozen (through DCFreeze), this command will still execute. There is a possibility that the cache may actually be invalidated at this time (it is unclear what processing will be performed).

See Also

Cache Functions, DCFlushRange, DCStoreRange, ICInvalidateRange

Revision History

2006/03/01 Initial version.


CONFIDENTIAL