x86 memory detection

Arun S inbox1.arun at gmail.com
Wed Feb 2 23:48:56 EST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110203/fb5e7a13/attachment-0001.html 


More information about the Kernelnewbies mailing list