A few newbie questions (not too stupid, I hope)
Posted: Sun Apr 15, 2007 6:02 am
Ok now first memory management, I understand this is completely up to the designer to decide but obviously at the same time there are some very wrong things and I might overlook.
As I understand memory before 0x7c00 is used for bios and other system specifics. Now my question on this is, must it be left alone or can it be replaced?
Is it advised to created the stack before kernel or after and what is the most popular size?
On the wiki, in the higher half tutorial it places the stack just after the first half of the kernel and then placed the second half at 0x40000000 which translates to 1Gb.
Basically if you have a moment can you explain to me how you've mapped memory in your own OS and why you chose to do it that way?
Thanks so much
As I understand memory before 0x7c00 is used for bios and other system specifics. Now my question on this is, must it be left alone or can it be replaced?
Is it advised to created the stack before kernel or after and what is the most popular size?
On the wiki, in the higher half tutorial it places the stack just after the first half of the kernel and then placed the second half at 0x40000000 which translates to 1Gb.
Basically if you have a moment can you explain to me how you've mapped memory in your own OS and why you chose to do it that way?
Thanks so much