cachectl.h 476 B

12345678910111213141516171819202122232425
  1. /*
  2. * cachectl.h - Functions for cache control on Blackfin.
  3. *
  4. * Copyright (C) 2010 Analog Devices, Inc.
  5. *
  6. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  7. */
  8. #ifndef _SYS_CACHECTL_H
  9. #define _SYS_CACHECTL_H 1
  10. #include <features.h>
  11. /*
  12. * Get the kernel definition for the flag bits
  13. */
  14. #include <asm/cachectl.h>
  15. __BEGIN_DECLS
  16. extern int cacheflush (void *addr, __const int nbytes, __const int flags);
  17. __END_DECLS
  18. #endif /* sys/cachectl.h */