Ioannis Koutras
|
1750131cca
mark_free(): cast 0x1 as unsigned to remove a warning
|
před 13 roky |
Ioannis Koutras
|
431ed1a549
get_dlnext(): small fix on pointer arithmetic.
|
před 13 roky |
Ioannis Koutras
|
5a090e692e
Fixed get_dlnext(), it now points to the data part of a block, not the header.
|
před 13 roky |
Ioannis Koutras
|
a1a9213770
Missed a star.
|
před 13 roky |
Ioannis Koutras
|
781f8072c3
Introduce is_free() and get_dlnext() to allow coalescing the current and next block.
|
před 13 roky |
Ioannis Koutras
|
5abecf9dfd
set_size_and_free() and set_size_and_free() should also update the previous_size of the next block if the latter exists.
|
před 13 roky |
Ioannis Koutras
|
ee4b032338
mark_used() and mark_free() now properly mark the previous_size record of the next block if there is one.
|
před 13 roky |
Ioannis Koutras
|
d4a491cd35
Got rid of requested_size in case we don't need it.
|
před 13 roky |
Ioannis Koutras
|
a85e415824
Set size now takes place along with marking blocks as used/free.
|
před 13 roky |
Ioannis Koutras
|
969a004a64
Initial support for doubly linked lists, unified linked lists source files.
|
před 14 roky |
Ioannis Koutras
|
5fc32c7e67
All the source files are now released under the Apache 2.0 license.
|
před 14 roky |
Ioannis Koutras
|
b671dfb720
Added heap ownership information in memory blocks, coalescing currently uses it.
|
před 14 roky |
Ioannis Koutras
|
57a68f4982
Initial code for split.
|
před 14 roky |
Ioannis Koutras
|
4d2caf32fd
Added block functions which are required for navigation on data layout level.
|
před 14 roky |
Ioannis Koutras
|
1848841db0
Few functional changes on border_ptr, now it points to the memory block which was allocated last.
|
před 14 roky |
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.
|
před 14 roky |
Ioannis Koutras
|
f4228a7def
Made get_header() static.
|
před 14 roky |
Ioannis Koutras
|
1f7bb37a63
Renamed dmm_init() to initialize_allocator(), added support for memory space aware allocations, moved source code to src directory.
|
před 14 roky |