Changeset 781 for soft/giet_vm/giet_libs/malloc.h
- Timestamp:
- Feb 7, 2016, 7:47:38 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/malloc.h
r777 r781 12 12 // Free blocks organisation: 13 13 // - All free blocks have a size that is a power of 2, larger or equal 14 // to MIN_BLOCK_SIZE (typically 128bytes).14 // to MIN_BLOCK_SIZE (typically 64 bytes). 15 15 // - All free blocks are aligned. 16 16 // - They are pre-classed in NB_SIZES linked lists, where all blocks in a … … 47 47 // of the allocated block must be obtained from the base address of the block. 48 48 // - The number of entries in this array is equal to the max number 49 // of allocated block is : heap_size / 128.49 // of allocated block is : heap_size / MIN_BLOCK_SIZE. 50 50 // - For each allocated block, the value registered in the alloc[] array 51 51 // is log2( size_of_allocated_block ).
Note: See TracChangeset
for help on using the changeset viewer.