1
0

cachectl.h 347 B

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