Memory managment
Posted: Fri Apr 10, 2009 12:34 pm
Hi
First, I'm dutch so my English isn't always right.
I'm a beginner in OS development. I have build my first kernel. This kernel was a simple 'Hello World' kernel and has some support for irq and so on. But now I want to expand it to get a kernell that is more functional than a 'hello world' kernel.
My kernel is build in C and uses GRUB as bootloader, I've build the kernel from this tutorial: http://www.osdever.net/bkerndev/index.php but i have modified it so it isn't exact like the kernel described in the tut.
My main problem now is the psychical memory managment. I have seen a lot of information about how the principal works but i don't know were to start. I know that i have to setup a stack or a bitmap to manage which block of memory is used or not.
But i don't know how to do that.
Can anybody give me some information about setting up a bitmap or a stack?
First, I'm dutch so my English isn't always right.
I'm a beginner in OS development. I have build my first kernel. This kernel was a simple 'Hello World' kernel and has some support for irq and so on. But now I want to expand it to get a kernell that is more functional than a 'hello world' kernel.
My kernel is build in C and uses GRUB as bootloader, I've build the kernel from this tutorial: http://www.osdever.net/bkerndev/index.php but i have modified it so it isn't exact like the kernel described in the tut.
My main problem now is the psychical memory managment. I have seen a lot of information about how the principal works but i don't know were to start. I know that i have to setup a stack or a bitmap to manage which block of memory is used or not.
But i don't know how to do that.
Can anybody give me some information about setting up a bitmap or a stack?