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.

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.


Generated on Sun Mar 7 12:47:54 2010 for libnds by  doxygen 1.5.7.1