Ioannis Koutras
|
896d2224e9
Fix dmmlib.h header guard.
|
13 years ago |
Ioannis Koutras
|
a260b7c23f
Set stxp70v4 build type to Release as default.
|
13 years ago |
Ioannis Koutras
|
40c9277334
Show status messages at the end of CMake configuration.
|
13 years ago |
Ioannis Koutras
|
baa748229c
Added option to enable / disable stats.
|
13 years ago |
Ioannis Koutras
|
559594aa1c
Allocator is considered initialized after first sys_alloc, not during initialize_allocator.
|
13 years ago |
Ioannis Koutras
|
43ebb38320
Be sure to set initialized flag to false before performing the first allocation.
|
13 years ago |
Ioannis Koutras
|
d72234fa01
Larson is now compiled only if HAVE_LOCKS is enabled, created a small test for memory-space aware allocators.
|
13 years ago |
Ioannis Koutras
|
a60756d022
Created options for enabling fixed lists and adaptive functions.
|
13 years ago |
Ioannis Koutras
|
2fb09ddf87
Small merge before pushing.
|
13 years ago |
Ioannis Koutras
|
2e7d3c4dea
Disabled temporarily knobs and dmm_adaptor.
|
13 years ago |
Ioannis Koutras
|
018f225a37
Disabled coalescing and splitting for P2012.
|
13 years ago |
Ioannis Koutras
|
3bca3db049
Memory-space aware allocators should also have an initialized boolean flag.
|
13 years ago |
Ioannis Koutras
|
dc8e286c9a
req_padding(): Always align to 4 bytes.
|
13 years ago |
Ioannis Koutras
|
cca01d8c96
Fixed printf in larson.
|
13 years ago |
Ioannis Koutras
|
6129857a1a
Singly linked lists are now default for P2012.
|
13 years ago |
Ioannis Koutras
|
c7f6a76c1f
Small fixes on errors and warnings.
|
13 years ago |
Ioannis Koutras
|
713e5443bc
Initialize the remaining size on memory-space aware allocators.
|
13 years ago |
Ioannis Koutras
|
4bdc60400e
Enable C99 and full warnings on LINUXTEST.
|
13 years ago |
Ioannis Koutras
|
0042ec6b35
Implemented faster remove_block() for doubly linked lists.
|
13 years ago |
Ioannis Koutras
|
31c30c9dc0
Print statistics on no free space errors.
|
13 years ago |
Ioannis Koutras
|
caa5ae3815
Initial support for printing stats.
|
13 years ago |
Ioannis Koutras
|
14d738fcff
sys_alloc() should check and warn for sbrk() only when coalescing is enabled.
|
13 years ago |
Ioannis Koutras
|
b88cc334a6
Keep better track of mem_allocated and mem_requested.
|
13 years ago |
Ioannis Koutras
|
6e53d0f490
Refactored the code to push block on a list's head.
|
13 years ago |
Ioannis Koutras
|
6deb92f82a
mem_reserved and mem_allocated are actually the same variable that needs to be tracked.
|
13 years ago |
Ioannis Koutras
|
d681e3be37
Extra work to make dmmlib work with P2012 Encore compiler.
|
13 years ago |
Ioannis Koutras
|
3fb61ea914
Renewed the default define options for P2012 target.
|
13 years ago |
Ioannis Koutras
|
3cd04d4b8e
heap.h should include dmm_config.h in order to get the number of heaps.
|
13 years ago |
Ioannis Koutras
|
c263d553aa
map_thread_heap() is not needed on memory space aware allocators.
|
13 years ago |
Ioannis Koutras
|
e75ad753c9
head_id is not needed on memory space-aware allocators.
|
13 years ago |