cache.h
ARM9 cache control functions.
[詳細]
#include "nds/ndstypes.h"
ソースコードを見る。
関数 |
|
void | IC_InvalidateAll () |
| | invalidate entire instruction cache.
|
| void | IC_InvalidateRange (const void *base, u32 size) |
| | invalidate the instruction cache for a range of addresses.
|
|
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.
|
説明
ARM9 cache control functions.
関数
| DC_FlushRange |
( |
const void * |
base, |
|
|
u32 |
size | |
|
) |
| | |
flush the data cache for a range of addresses to memory.
- 引数:
-
| 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.
- 引数:
-
| base | base address of the region to invalidate |
| size | size of the region to invalidate. |
- 例:
- audio/micrecord/source/micrecord.c.
| IC_InvalidateRange |
( |
const void * |
base, |
|
|
u32 |
size | |
|
) |
| | |
invalidate the instruction cache for a range of addresses.
- 引数:
-
| base | base address of the region to invalidate |
| size | size of the region to invalidate. |