Memory map (again ?) & grub
Posted: Wed Apr 21, 2004 3:56 am
I'm now using grub to load my kernel. Everything work fine, but I'm trying to use the memory map information provided by grub.
When using it with bochs (32 Mo RAM) I get the following memory map:
[1st zone] 0 - 9fc00: type 1
[2nd zone] 100000 - 1f00000: type 1
My kernel is loaded at 0x100000.
My problem is that I would like to use the 1st zone (in my memory manager), but I guess I must take care of some data stored there... I'm thinking of bios data structures, grub data structures.
Until now I've wasted the 1st zone, using only the 2nd one. Could you tell me how you did it ? What informations you saved before overwriting thet area ?
Thank you.
INeo
When using it with bochs (32 Mo RAM) I get the following memory map:
[1st zone] 0 - 9fc00: type 1
[2nd zone] 100000 - 1f00000: type 1
My kernel is loaded at 0x100000.
My problem is that I would like to use the 1st zone (in my memory manager), but I guess I must take care of some data stored there... I'm thinking of bios data structures, grub data structures.
Until now I've wasted the 1st zone, using only the 2nd one. Could you tell me how you did it ? What informations you saved before overwriting thet area ?
Thank you.
INeo