Page 1 of 1
memory management
Posted: Wed Jun 04, 2003 11:00 pm
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
RE:memory management
Posted: Wed Jun 04, 2003 11:00 pm
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
RE:memory management
Posted: Thu Jun 05, 2003 11:00 pm
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