Page 1 of 1

Memory Manager in C?

Posted: Wed Dec 26, 2007 1:17 pm
by Bobalandi
I'm sure someone has done it, so would anyone care to help me, I've looked through the tutorial in the wiki, but I'm still confused. :?

Posted: Wed Dec 26, 2007 1:19 pm
by JamesM
What exactly are you confused about?

Physical or virtual memory manager?

The tutorials in my sig have an implementation of both in C.

Posted: Wed Dec 26, 2007 1:21 pm
by ucosty
If you read the wiki, as you said, surely you read the 'posting rules' thread?

Memory management is a whole slab of a regular kernel, and is comprised of several independant components. You need a way of managing physical memory and a way of mapping virtual memory. Neither of those contain a malloc(n) type function. You overlay that on top of those base components.