Re: auto-probe memory size during boot

Martin Mares (mj@albireo.ucw.cz)
Sun, 19 Jul 1998 22:02:06 +0200


> Linux gets memory configuration from BIOS. Due to lousy design, standard
> BIOS can only report 64MB memory at most. Well, Linux can only
> automatically found 64MB. When there is more memory, you have to add
> "mem=xxx[MmKk]", then kernel knows that there is more memory available.

I don't think this is a reliable way how to detect amount of memory
since lots of motherboards can have mirrored regions in address space
and your code can overwrite itself in such cases.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"The world is coming to an end...  SAVE YOUR BUFFERS!!"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html