1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| /*
| * sdram_heap.h
| * Description:
| *
| * Created on: 2014-10-8
| * Author: DELL
| * Modify:
| */
|
| #ifndef SDRAM_HEAP_H_
| #define SDRAM_HEAP_H_
| #include <config.h>
| uvoid hmem_init(void);
| uvoidptr mymalloc(mymalloc_style type, uint32_t size);
| uvoid myfree(mymalloc_style type, uvoidptr ptr);
| uvoid hmem_free(void);
| short hmem_perused(mymalloc_style type);
|
| void* sram_malloc(int memtype , int size);
| void sram_free(int memtype ,void* ptr);
| int sram_free_space(int memtype);
|
| #endif /* SDRAM_HEAP_H_ */
|
|