summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-12-16 04:24:25 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-12-16 04:24:25 +0000
commitbea8d3b9447dc69dfeda3a1951f80b93a09fd1cd (patch)
tree8682e6b2eafcf9301d76efe98ddacc5e104a2140 /libc
parent8ed820548200d1ff5d99d3a27e53d46d531650f9 (diff)
downloaduClibc-alpine-bea8d3b9447dc69dfeda3a1951f80b93a09fd1cd.tar.bz2
uClibc-alpine-bea8d3b9447dc69dfeda3a1951f80b93a09fd1cd.tar.xz
Copy from trunk.
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/bfin/bits/bfin_sram.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/bfin/bits/bfin_sram.h b/libc/sysdeps/linux/bfin/bits/bfin_sram.h
new file mode 100644
index 000000000..1ac066a10
--- /dev/null
+++ b/libc/sysdeps/linux/bfin/bits/bfin_sram.h
@@ -0,0 +1,12 @@
+#ifndef BFIN_SRAM_H
+#define BFIN_SRAM_H
+
+#define L1_INST_SRAM 0x00000001
+#define L1_DATA_A_SRAM 0x00000002
+#define L1_DATA_B_SRAM 0x00000004
+#define L1_DATA_SRAM 0x00000006
+extern void *sram_alloc(size_t size, unsigned long flags);
+extern int sram_free(const void *addr);
+extern void *dma_memcpy(void *dest, const void *src, size_t len);
+
+#endif