Changeset 239 for soft/giet_vm/libs/malloc.c
- Timestamp:
- May 29, 2013, 5:09:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/libs/malloc.c
r233 r239 4 4 #include "stdio.h" 5 5 6 heap_ll * _heap_head[NB_TASKS ];7 8 unsigned int _heap_base[NB_TASKS ];9 unsigned int _heap_length[NB_TASKS ];10 11 int _first_malloc[NB_TASKS ] = { 0 };6 heap_ll * _heap_head[NB_TASKS_MAX]; 7 8 unsigned int _heap_base[NB_TASKS_MAX]; 9 unsigned int _heap_length[NB_TASKS_MAX]; 10 11 int _first_malloc[NB_TASKS_MAX] = { 0 }; 12 12 13 13 … … 15 15 16 16 #elif MALLOC_SELECTED == 2 17 heap_ll * _prev_next_last_allocted[NB_TASKS ] = { 0 };17 heap_ll * _prev_next_last_allocted[NB_TASKS_MAX] = { 0 }; 18 18 #else 19 19 #define MAX_SIZE_POW2_TAB 28 … … 47 47 27 48 48 49 heap_ll * _pow2tab[NB_TASKS ][MAX_SIZE_POW2_TAB] = {{ 0 }};49 heap_ll * _pow2tab[NB_TASKS_MAX][MAX_SIZE_POW2_TAB] = {{ 0 }}; 50 50 #endif 51 51
Note: See TracChangeset
for help on using the changeset viewer.