DCZeroRange

C Specification

#include <revolution/os.h>
void DCZeroRange (void* start Addr, u32 nBytes);

Arguments

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

Return Values

None.

Description

Loads a range into cache and zeroes out all the cache blocks. The startAddr argument is rounded down to a 32-byte boundary. The end address ( i.e., startAddr+ nBytes) is rounded up to the 32-byte boundary.

If the cache is frozen using DCFreeze, this command will still execute. However, if the cache is disabled, an alignment exception will be generated.

See Also

Cache Functions, DCFlushRange, DCInvalidateRange, ICInvalidateRange,DCStoreRange

Revision History

2006/03/01 Initial version.


CONFIDENTIAL