| 1 |
|
| 2 | #ifndef _SH_CACHECTL_H
|
| 3 | #define _SH_CACHECTL_H
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 | #define CACHEFLUSH_D_INVAL 0x1
|
| 8 | #define CACHEFLUSH_D_WB 0x2
|
| 9 | #define CACHEFLUSH_D_PURGE 0x3
|
| 10 |
|
| 11 | #define CACHEFLUSH_I 0x4
|
| 12 |
|
| 13 | |
| 14 | * Options for cacheflush system call
|
| 15 |
|
| 16 | #define ICACHE CACHEFLUSH_I
|
| 17 | #define DCACHE CACHEFLUSH_D_PURGE
|
| 18 | #define BCACHE (ICACHE|DCACHE)
|
| 19 |
|
| 20 | #endif
|