zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

blob f3b896a8 (347B) - Raw


      1 #ifndef _SYS_CACHECTL_H
      2 #define _SYS_CACHECTL_H
      3 
      4 #ifdef __cplusplus
      5 extern "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  
     14 int cachectl(void *, int, int);
     15 int cacheflush(void *, int, int);
     16 int _flush_cache(void *, int, int);
     17 
     18 #ifdef __cplusplus
     19 }
     20 #endif
     21 
     22 #endif