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?
Memory managment
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Memory managment
Welcome!
You may want to check out JamesM's tutorials (http://www.jamesmolloy.co.uk/), since it has a lot of information that you can use.
EDIT: Another great source of information is our wiki (the link is at the top with most forum themes!)
You may want to check out JamesM's tutorials (http://www.jamesmolloy.co.uk/), since it has a lot of information that you can use.
EDIT: Another great source of information is our wiki (the link is at the top with most forum themes!)
Re: Memory managment
There's also quite a few good memory management tutorials over at http://www.osdever.net.
Re: Memory managment
Only note that when you're going to use JamesM's tutorials, use the theory and text from the website and the downloadable code, not the code samples on the site as the source code is more recent.Troy Martin wrote:Welcome!
You may want to check out JamesM's tutorials (http://www.jamesmolloy.co.uk/), since it has a lot of information that you can use.
EDIT: Another great source of information is our wiki (the link is at the top with most forum themes!)
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
Re: Memory managment
Thanks for reply.
I have downloaded the source code from JamesM's tutorials.
For me, this code is helpfull because it looks like my code.
I have downloaded the source code from JamesM's tutorials.
For me, this code is helpfull because it looks like my code.