bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: passing back the unused memory pointer


From: Rogelio Serrano
Subject: Re: passing back the unused memory pointer
Date: Tue, 03 Apr 2001 19:35:37 +0800
User-agent: Mozilla/5.0 (X11; U; Linux 2.2.17 i686; en-US; 0.7) Gecko/20010119

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]