2 ms·
A silly allocator i wrote for fun one night is also under 200 lines of code. https://github.com/mbrumlow/toyos/blob/master/kernel/heap.c https://github.com/mbr
by mbrumlow 9y ago
A silly allocator i wrote for fun one night is also under 200 lines of code.
https://github.com/mbrumlow/toyos/blob/master/kernel/heap.c https://github.com/mbrumlow/toyos/blob/master/kernel/heap.c
Admittedly mine has no test or does any fancy stuff -- just needed a simple allocator so I could move forward with a toy kernel.