Memory Manager in C?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Bobalandi
Member
Member
Posts: 107
Joined: Mon Dec 03, 2007 7:26 am
Location: Near Boston, MA
Contact:

Memory Manager in C?

Post 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. :?
NULL
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post 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.
User avatar
ucosty
Member
Member
Posts: 271
Joined: Tue Aug 08, 2006 7:43 am
Location: Sydney, Australia

Post 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.
The cake is a lie | rackbits.com
Post Reply