Ioannis Koutras
|
beb0dcc26d
Disabled used blocks head and roving pointer for the time being.
|
14 年之前 |
Ioannis Koutras
|
8929219116
Fixed major bug in push_block.
|
14 年之前 |
Ioannis Koutras
|
d4a491cd35
Got rid of requested_size in case we don't need it.
|
14 年之前 |
Ioannis Koutras
|
a85e415824
Set size now takes place along with marking blocks as used/free.
|
14 年之前 |
Ioannis Koutras
|
e619ebe5ab
Initial support for Leon3 platform.
|
14 年之前 |
Ioannis Koutras
|
baa748229c
Added option to enable / disable stats.
|
14 年之前 |
Ioannis Koutras
|
559594aa1c
Allocator is considered initialized after first sys_alloc, not during initialize_allocator.
|
14 年之前 |
Ioannis Koutras
|
3bca3db049
Memory-space aware allocators should also have an initialized boolean flag.
|
14 年之前 |
Ioannis Koutras
|
31c30c9dc0
Print statistics on no free space errors.
|
14 年之前 |
Ioannis Koutras
|
caa5ae3815
Initial support for printing stats.
|
14 年之前 |
Ioannis Koutras
|
14d738fcff
sys_alloc() should check and warn for sbrk() only when coalescing is enabled.
|
14 年之前 |
Ioannis Koutras
|
b88cc334a6
Keep better track of mem_allocated and mem_requested.
|
14 年之前 |
Ioannis Koutras
|
6e53d0f490
Refactored the code to push block on a list's head.
|
14 年之前 |
Ioannis Koutras
|
969a004a64
Initial support for doubly linked lists, unified linked lists source files.
|
14 年之前 |
Ioannis Koutras
|
5fc32c7e67
All the source files are now released under the Apache 2.0 license.
|
14 年之前 |
Ioannis Koutras
|
186a55c23d
Small fixes to remove warnings. initialize_allocator() could now use sbrk locks.
|
14 年之前 |
Ioannis Koutras
|
873e85f9f1
sys_alloc() has to set headers in case it is called by initialize_allocator(). Modified also custom_malloc() to conform with this.
|
14 年之前 |
Ioannis Koutras
|
1848841db0
Few functional changes on border_ptr, now it points to the memory block which was allocated last.
|
14 年之前 |
Ioannis Koutras
|
eda81eee4e
Added functions to find previous memory blocks in terms of data layout. Initial maptable nodes require now a memory block. Simplified initialize_allocator.
|
14 年之前 |
Ioannis Koutras
|
d52ea914eb
Memory space awareness for sys_alloc().
|
14 年之前 |
Ioannis Koutras
|
1f7bb37a63
Renamed dmm_init() to initialize_allocator(), added support for memory space aware allocations, moved source code to src directory.
|
14 年之前 |