summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin/bits/bfin_sram.h
blob: 1ac066a10752bef4c086b599385e89f4d249631e (plain)
1
2
3
4
5
6
7
8
9
10
11
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