#include <revolution/os.h> void DCFlushRangeNoSync(void* startAddr, u32 nBytes);
|
Effective address (not the physical address) . |
|
Size of range to flush. |
None.
Flushes a specified range. The cache data block hit in the data cache for the specified range is flushed to main memory and invalidated. The startAddr argument is rounded down to a 32-byte boundary. The end address (i.e., startAddr + nBytes) is rounded up to a 32-byte boundary.
This command will still execute even if the cache is disabled or frozen by the DCFreeze function.
This routine does not perform a sync to ensure that the specified range has been flushed to memory. The cache blocks are sent to the bus interface unit to be stored in main memory; but by the time this function returns, the blocks are not guaranteed to have been written to memory. If your code must know that the data has reached main memory, invoke PPCSync on the memory to flush after calling DCFlushRangeNoSync. DMA transfers with locked caches are not affected by the PPCSync function.
Cache Functions, DCInvalidateRange, DCFlushRange, DCStoreRange, DCStoreRangeNoSync, PPCSync
2006/03/01 Initial version.
CONFIDENTIAL