@diazepam@kirby that's not bare metal, all the heavy lifting of page allocation is done by the kernel fol you and you haven't even implemented free with just brk
@Ukko@kirby you said "ok please implement malloc". you're now moving the goalposts by asking me to map the pages myself. I've played around with TempleOS enough to know how mempagtaskalloc works,thank you
@Ukko@kirby depending on what you're doing you may not really need an allocator at all. if you are just programming a microcontroller or something you could just header define a bunch of memory address blocks to specific purposes and leave it at that. imo that only breaks down if you are loading external code that has runtime memory needs
Add comment