18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci#ifndef _M68K_CACHECTL_H
38c2ecf20Sopenharmony_ci#define _M68K_CACHECTL_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci/* Definitions for the cacheflush system call.  */
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#define FLUSH_SCOPE_LINE    1	/* Flush a cache line */
88c2ecf20Sopenharmony_ci#define FLUSH_SCOPE_PAGE    2	/* Flush a page */
98c2ecf20Sopenharmony_ci#define FLUSH_SCOPE_ALL     3	/* Flush the whole cache -- superuser only */
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#define FLUSH_CACHE_DATA    1	/* Writeback and flush data cache */
128c2ecf20Sopenharmony_ci#define FLUSH_CACHE_INSN    2	/* Flush instruction cache */
138c2ecf20Sopenharmony_ci#define FLUSH_CACHE_BOTH    3	/* Flush both caches */
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#endif /* _M68K_CACHECTL_H */
16