kmalloc/kfree...

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
User avatar
xyjamepa
Member
Member
Posts: 397
Joined: Fri Sep 29, 2006 8:59 am

kmalloc/kfree...

Post by xyjamepa »

Hi guys...
i've been working on my memory management stuff and everything
worked fine physical and the virtual memory management...
I used some tutorials and some open source code.
weeks ago i finished the virtual mm and until now i could'n
write the kmalloc/kfree functions...
i searched the net using google but didn't get any thing
and you guys did'nt write any thing about that in the FAQ
so i realy need some detailed explain about kmalloc/kfree
and how i can let them work with my virtual mm layer.
let us talk about my mm:
i used a stack to handle physical memory addresses and in
the virtual mm i made it identity mapped and the
"map_vpage" function takes tow areguments the first one is
the virtual address and the second one is the physical address
and it return SUCCESS or FAIL.
any links are welcome .
Thanx.
User avatar
kataklinger
Member
Member
Posts: 381
Joined: Fri Nov 04, 2005 12:00 am
Location: Serbia

Post by kataklinger »

Post Reply