Groman wrote:
> I'd like to second that. That would be great. Especially if it would also
> come with the size of that unused memory segment...
>
>
>
>> Can we pass the pointer to the first unused memory to the kernel being
>> booted by GRUB? That way i have to avoid reading all the pointers from
>> the multiboot struct to look for the first usable memory after
>> everything to avoid overwriting anything important. maybe we push it
>> into the bootstack before booting or extend the multiboot_info structto
>> include this pointer.
>>
It would save me a lot code n my boot stub because i have to initialize
paging in assembly and i need to put all the tables in a contiguous block of memory.
currently i have a presreserved area in bss and i map only the first 4 M
just to start VM. Then i look for the the first unused memory to place
the rest of the paging structures in.
_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub