#include <cafe/os.h> void DCInvalidateRange( void* addr, u32 nBytes );
|addr||Data address for operation.|
|nBytes||Number of bytes for operation.|
Executes the PowerPC Data Cache Block Invalidate (
dcbi) instruction on given address range. The addr is rounded down to the closest 32-byte boundary. The nBytes are rounded up to the closest 32-byte boundary. Data cache blocks in the referenced range are invalidated, destroying any modified data in them. The operation proceeds even if the cache is disabled or locked.
dcbi instruction is enabled in user-mode so that programs that use
dcbi function correctly.
IBM Espresso RISC Microprocessor Developer's User Manual, Version 2 on your local Nintendo developer support group website.
2013/05/08 Automated cleanup pass.
2012/07/30 Cleanup Pass.
2011/03/15 Initial version.