x86 memory detection

Rajat Sharma fs.rajat at gmail.com
Thu Feb 3 00:10:45 EST 2011


On most of the x86 linux boxes, I have seen it to be 2 or other
variants where boot loader informs about memory map.

-Rajat

On Thu, Feb 3, 2011 at 10:18 AM, Arun S <inbox1.arun at gmail.com> wrote:
> Hi,
>  How does the kernel detects the amount of available System RAM in the
> system under x86 architecture?.
> Under 2.6.x kernels,
>
> 1. Does it use BIOS interrupt 15 for determining the RAM
>  OR
> 2. Does the boot loader fills the e820_map as explained
> inDocumentation/x86/boot.txt &   Documentation/x86/zero-page.txt  and the
> kernel uses in information
> OR
> 3. Is there any other mechanism (if so, in which file under kernel tree I
> can find this detection code)
>
>
> Thanks,
> Arun
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



More information about the Kernelnewbies mailing list