memory management

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
myos

memory management

Post by myos »

Hello all!!

I'm writting a litle os. I have a question about the memory management.
I use a PIII to test my os. Can I run my os without to use the paging ?

Thanks in advance

myos
carbonBased

RE:memory management

Post by carbonBased »

You can certainly develop an OS without using paging, however, I would reccomend using it.  Without paging, you won't be able to swap pages to disk, nor will you be able to remap pages to different locations.

Also, when it comes time to design a multitasking system, paging can afford many benifits (such as isolating each process in its own memory space AND sharing memory spaces between processes (at the same time, in fact).

For information on memory management, I would suggest checking out Tim Robinson's tutorials (http://osdev.neopages.net/tutorials.php), and well as Doug Lea's MAlloc (google it, you'll find it everywhere!)

Cheers,
Jeff
myos

RE:memory management

Post by myos »

Firstly thanks,

In fact, I'm starting my os with the target x86 then I would port my os on arm7 when it run on x86. Therefore the paging is not very important for my (today :) ). I thought that my problem was due to the paging. Now, I can concentrate my search on others points of my os.  

myos
Post Reply