cachectl.h 493 B

123456789101112131415161718192021
  1. /*
  2. * based on the mips/cachectl.h
  3. *
  4. * Copyright 2010 Analog Devices Inc.
  5. * Copyright (C) 1994, 1995, 1996 by Ralf Baechle
  6. *
  7. * Licensed under the GPL-2 or later.
  8. */
  9. #ifndef _UAPI_ASM_CACHECTL
  10. #define _UAPI_ASM_CACHECTL
  11. /*
  12. * Options for cacheflush system call
  13. */
  14. #define ICACHE (1<<0) /* flush instruction cache */
  15. #define DCACHE (1<<1) /* writeback and flush data cache */
  16. #define BCACHE (ICACHE|DCACHE) /* flush both caches */
  17. #endif /* _UAPI_ASM_CACHECTL */