cachectl.h 451 B

1234567891011121314
  1. // SPDX-License-Identifier: GPL-2.0
  2. // Copyright (C) 1994, 1995, 1996 by Ralf Baechle
  3. // Copyright (C) 2005-2017 Andes Technology Corporation
  4. #ifndef _ASM_CACHECTL
  5. #define _ASM_CACHECTL
  6. /*
  7. * Options for cacheflush system call
  8. */
  9. #define ICACHE 0 /* flush instruction cache */
  10. #define DCACHE 1 /* writeback and flush data cache */
  11. #define BCACHE 2 /* flush instruction cache + writeback and flush data cache */
  12. #endif /* _ASM_CACHECTL */