Does your OS have a memory manager? If not then you will probably need one.
Although it does depend upon how you have constructed your OS. If you use protected mode with paging then a simple memory pool allocator would probably be fine for a simple OS. If you are in real or unreal mode then it would be trickier to manage the fragmentation with a linear address space.
Joined: 22 Mar 2011
I have difficulty to understand the use of paging, i don't understand...
have you heard of American owned airliners dragging people out of planes? U.S. law allows airliners to overbook their planes. they sell to multiple people expecting some of them to not show up. this is also what paging is meant to do.
one example is when you cache a file you might not need all of it. also; as a general rule you won't need access to all of it at the same time. the OS stores parts of different files for multiple programs allowing them to effectively (or actually in a multiple core system) run in parallel.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum