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.
kmalloc/kfree...
- kataklinger
- Member
- Posts: 381
- Joined: Fri Nov 04, 2005 12:00 am
- Location: Serbia
http://www.osdever.net/tutorials/memory2.php?the_id=45
under: "malloc() and free()"
http://www.osdever.net/tutorials/25.alloc.pdf?the_id=46
You only have to look better
under: "malloc() and free()"
http://www.osdever.net/tutorials/25.alloc.pdf?the_id=46
You only have to look better