diff options
author | Bernd Schmidt <bernds_cb1@t-online.de> | 2008-01-18 13:53:10 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds_cb1@t-online.de> | 2008-01-18 13:53:10 +0000 |
commit | d22976dd5e16e8719abd5c542e17427eeece7ff6 (patch) | |
tree | 1ed5337d956a7f83d22a8c5b23280043091aad36 /libc/sysdeps/linux/bfin/dma-memcpy.c | |
parent | 0375e472c58b5734a73ae5bf3ba8973fd2e38f8a (diff) |
L1 memory support for the Blackfin. A couple new syscalls to manage L1
allocations, dma_memcpy to move stuff between L1 and main memory, and a new
structure to describe the global data in L1 scratchpad memory.
Diffstat (limited to 'libc/sysdeps/linux/bfin/dma-memcpy.c')
-rw-r--r-- | libc/sysdeps/linux/bfin/dma-memcpy.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/bfin/dma-memcpy.c b/libc/sysdeps/linux/bfin/dma-memcpy.c new file mode 100644 index 000000000..6d7a5b855 --- /dev/null +++ b/libc/sysdeps/linux/bfin/dma-memcpy.c @@ -0,0 +1,6 @@ +#include <unistd.h> +#include <errno.h> +#include <sys/syscall.h> + +_syscall3 (__ptr_t, dma_memcpy, __ptr_t, dest, __ptr_t, src, size_t, len); + |