cachectl.h 559 B

123456789101112131415
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _M68K_CACHECTL_H
  3. #define _M68K_CACHECTL_H
  4. /* Definitions for the cacheflush system call. */
  5. #define FLUSH_SCOPE_LINE 1 /* Flush a cache line */
  6. #define FLUSH_SCOPE_PAGE 2 /* Flush a page */
  7. #define FLUSH_SCOPE_ALL 3 /* Flush the whole cache -- superuser only */
  8. #define FLUSH_CACHE_DATA 1 /* Writeback and flush data cache */
  9. #define FLUSH_CACHE_INSN 2 /* Flush instruction cache */
  10. #define FLUSH_CACHE_BOTH 3 /* Flush both caches */
  11. #endif /* _M68K_CACHECTL_H */