ethandmd / reedos

rust riscv minimal os
2 stars 6 forks source link

6 allocator #16

Closed TCCQ closed 1 year ago

TCCQ commented 1 year ago

Allocation that compiles and inits as far as I can tell. No clue how to test this, but here we go. We should merge the binary generation bug issue before this one. Also do a careful comb over, cause there will not be better time to catch these bugs than now. At the moment assumes control over the entire heap. Medium refactor could change that to let it live inside a page allocator, but we aren't there yet. (hopefully soon!)

TCCQ commented 1 year ago

Not ready yet, needs cleanup via moving init pointers to be arguments, and fix realloc to mark the original as unused again. More comments. Fix fucking tabs.