cache.h File Reference

ARM9 cache control functions. More...

#include "nds/ndstypes.h"

Functions

void DC_FlushAll ()
 flush the entire data cache to memory.
void DC_FlushRange (const void *base, u32 size)
 flush the data cache for a range of addresses to memory.
void DC_InvalidateAll ()
 invalidate the entire data cache.
void DC_InvalidateRange (const void *base, u32 size)
 invalidate the data cache for a range of addresses.
void IC_InvalidateAll ()
 invalidate entire instruction cache.
void IC_InvalidateRange (const void *base, u32 size)
 invalidate the instruction cache for a range of addresses.

Detailed Description

ARM9 cache control functions.


Function Documentation

DC_FlushRange ( const void *  base,
u32  size 
)

flush the data cache for a range of addresses to memory.

Parameters:
base base address of the region to flush.
size size of the region to flush.
Examples:
capture/ScreenShot/source/main.cpp.
DC_InvalidateRange ( const void *  base,
u32  size 
)

invalidate the data cache for a range of addresses.

Parameters:
base base address of the region to invalidate
size size of the region to invalidate.
Examples:
audio/micrecord/source/micrecord.c.
IC_InvalidateRange ( const void *  base,
u32  size 
)

invalidate the instruction cache for a range of addresses.

Parameters:
base base address of the region to invalidate
size size of the region to invalidate.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Mon Jul 26 10:36:04 2010 for libnds by  doxygen 1.6.3