From d22976dd5e16e8719abd5c542e17427eeece7ff6 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Fri, 18 Jan 2008 13:53:10 +0000 Subject: 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. --- libc/sysdeps/linux/bfin/sram-alloc.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 libc/sysdeps/linux/bfin/sram-alloc.c (limited to 'libc/sysdeps/linux/bfin/sram-alloc.c') diff --git a/libc/sysdeps/linux/bfin/sram-alloc.c b/libc/sysdeps/linux/bfin/sram-alloc.c new file mode 100644 index 000000000..f0e8bce65 --- /dev/null +++ b/libc/sysdeps/linux/bfin/sram-alloc.c @@ -0,0 +1,6 @@ +#include +#include +#include + +_syscall2 (__ptr_t, sram_alloc, size_t, len, unsigned long, flags); + -- cgit v1.2.3