master
 1#ifndef _SYS_CACHECTL_H
 2#define _SYS_CACHECTL_H
 3
 4#ifdef __cplusplus
 5extern "C" {
 6#endif
 7
 8#define ICACHE (1<<0)
 9#define DCACHE (1<<1)
10#define BCACHE (ICACHE|DCACHE)
11#define CACHEABLE 0
12#define UNCACHEABLE 1
13 
14int cachectl(void *, int, int);
15int cacheflush(void *, int, int);
16int _flush_cache(void *, int, int);
17
18#ifdef __cplusplus
19}
20#endif
21
22#endif