1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ >> 2 #ifndef _M68K_CACHECTL_H >> 3 #define _M68K_CACHECTL_H 2 4 3 #ifndef __ASM_CSKY_CACHECTL_H !! 5 /* Definitions for the cacheflush system call. */ 4 #define __ASM_CSKY_CACHECTL_H << 5 6 6 /* !! 7 #define FLUSH_SCOPE_LINE 1 /* Flush a cache line */ 7 * See "man cacheflush" !! 8 #define FLUSH_SCOPE_PAGE 2 /* Flush a page */ 8 */ !! 9 #define FLUSH_SCOPE_ALL 3 /* Flush the whole cache -- superuser only */ 9 #define ICACHE (1<<0) << 10 #define DCACHE (1<<1) << 11 #define BCACHE (ICACHE|DCACHE) << 12 10 13 #endif /* __ASM_CSKY_CACHECTL_H */ !! 11 #define FLUSH_CACHE_DATA 1 /* Writeback and flush data cache */ >> 12 #define FLUSH_CACHE_INSN 2 /* Flush instruction cache */ >> 13 #define FLUSH_CACHE_BOTH 3 /* Flush both caches */ >> 14 >> 15 #endif /* _M68K_CACHECTL_H */ 14 16
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.