kmalloc/kfree...
Posted: Sun Nov 05, 2006 11:52 pm
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.
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.