Paging problems
-
- Posts: 1
- Joined: Mon Oct 31, 2005 12:00 am
Paging problems
I want to write a memory manager for my OS, but i don't know where to begin. Could anyone suggest me a good tutorial(not just theory)?
- carbonBased
- Member
- Posts: 382
- Joined: Sat Nov 20, 2004 12:00 am
- Location: Wellesley, Ontario, Canada
- Contact:
Re: Paging problems
If you implement sbrk() or morecore() along with some other simple libc portions you can use dlmalloc as a plug-in memory manager. You'll probably want to implement paging first, though, and use a stack based page allocator.
--Jeff
--Jeff
Re: Paging problems
Yeah, I was getting sick of theory before my Manager was finished! Like he said, put together paging first, yes it may complicate things a tiny bit when it gets to the coding, but it's worth it in the long run. Besides, it so simple to turn on and off and edit. Just make sure you don't let the OS access memory that is not free! You get the picture about mem access, I'm sure. After you get do that, check out the theory so that you know where you want to get to. First deal with the Paging.
Brett
Brett