diff options
Diffstat (limited to 'libc/sysdeps/linux/bfin/cacheflush.c')
-rw-r--r-- | libc/sysdeps/linux/bfin/cacheflush.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/bfin/cacheflush.c b/libc/sysdeps/linux/bfin/cacheflush.c new file mode 100644 index 000000000..a8d81c419 --- /dev/null +++ b/libc/sysdeps/linux/bfin/cacheflush.c @@ -0,0 +1,14 @@ +/* + * cacheflush.c - Cache control functions for Blackfin. + * + * Copyright (C) 2010 Analog Devices Inc. + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#include <unistd.h> +#include <errno.h> +#include <sys/syscall.h> +#include <sys/cachectl.h> + +_syscall3 (int, cacheflush, void *, start, const int, nbytes, const int, flags) |