Ioannis Koutras
|
dc8e286c9a
req_padding(): Always align to 4 bytes.
|
14 anos atrás |
Ioannis Koutras
|
6129857a1a
Singly linked lists are now default for P2012.
|
14 anos atrás |
Ioannis Koutras
|
c7f6a76c1f
Small fixes on errors and warnings.
|
14 anos atrás |
Ioannis Koutras
|
713e5443bc
Initialize the remaining size on memory-space aware allocators.
|
14 anos atrás |
Ioannis Koutras
|
4bdc60400e
Enable C99 and full warnings on LINUXTEST.
|
14 anos atrás |
Ioannis Koutras
|
0042ec6b35
Implemented faster remove_block() for doubly linked lists.
|
14 anos atrás |
Ioannis Koutras
|
31c30c9dc0
Print statistics on no free space errors.
|
14 anos atrás |
Ioannis Koutras
|
caa5ae3815
Initial support for printing stats.
|
14 anos atrás |
Ioannis Koutras
|
14d738fcff
sys_alloc() should check and warn for sbrk() only when coalescing is enabled.
|
14 anos atrás |
Ioannis Koutras
|
b88cc334a6
Keep better track of mem_allocated and mem_requested.
|
14 anos atrás |
Ioannis Koutras
|
6e53d0f490
Refactored the code to push block on a list's head.
|
14 anos atrás |
Ioannis Koutras
|
6deb92f82a
mem_reserved and mem_allocated are actually the same variable that needs to be tracked.
|
14 anos atrás |
Ioannis Koutras
|
d681e3be37
Extra work to make dmmlib work with P2012 Encore compiler.
|
14 anos atrás |
Ioannis Koutras
|
3fb61ea914
Renewed the default define options for P2012 target.
|
14 anos atrás |
Ioannis Koutras
|
3cd04d4b8e
heap.h should include dmm_config.h in order to get the number of heaps.
|
14 anos atrás |
Ioannis Koutras
|
c263d553aa
map_thread_heap() is not needed on memory space aware allocators.
|
14 anos atrás |
Ioannis Koutras
|
e75ad753c9
head_id is not needed on memory space-aware allocators.
|
14 anos atrás |
Ioannis Koutras
|
969a004a64
Initial support for doubly linked lists, unified linked lists source files.
|
14 anos atrás |
Ioannis Koutras
|
5fc32c7e67
All the source files are now released under the Apache 2.0 license.
|
14 anos atrás |
Ioannis Koutras
|
d0d45c7784
dmm_init.h is no longer needed.
|
14 anos atrás |
Ioannis Koutras
|
3c231f9a82
The new block after a split should be the one to be set free and properly set of a heap owner.
|
14 anos atrás |
Ioannis Koutras
|
b671dfb720
Added heap ownership information in memory blocks, coalescing currently uses it.
|
14 anos atrás |
Ioannis Koutras
|
3c1f4804f1
Added exact-, first- and best-Fit search algorithms for singly linked freelist.
|
14 anos atrás |
Ioannis Koutras
|
3636ba9139
Created function to search fixed lists.
|
14 anos atrás |
Ioannis Koutras
|
7861af6e17
Proper support of splitting for both fixed and variable min splitting block size.
|
14 anos atrás |
Ioannis Koutras
|
31bdfa0120
Proper support of coalescing for both fixed and variable max coalesced block size.
|
14 anos atrás |
Ioannis Koutras
|
7744f89706
The knobs are now guarded with WITH_KNOBS.
|
14 anos atrás |
Ioannis Koutras
|
b8e710050b
get_previous_size_availability() should have only one parameter in comments.
|
14 anos atrás |
Ioannis Koutras
|
d4630ed6bf
stdbool.h is not required in custom_malloc().
|
14 anos atrás |
Ioannis Koutras
|
57a68f4982
Initial code for split.
|
14 anos atrás |