[LinuxBIOS] BIOS-provided physical RAM map

Stefan Reinauer stepan at coresystems.de
Sun Oct 14 13:00:56 CEST 2007


* joe at smittys.pointclark.net <joe at smittys.pointclark.net> [071014 00:00]:
> How can I adjust the "BIOS-provided physical RAM map" that the linux  
> kernel uses? Is this done in northbridge.c with ram_resource()???  
> Because mine does not look the same.
> 
> ram_resource(dev, idx++, 0, 640);
> ram_resource(dev, idx++, 1024, tolmk - 1024);
> 
> BIOS-provided physical RAM map:
>   BIOS-e820: 0000000000001000 - 00000000000a0000 (usable)
>   BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
> 128MB LOWMEM available.

If tolmk is 128M this looks fine.

ram_resource takes a base address in kilobytes and a size in kilobytes.

so the second resource above goes from 1024K to tolmk-1024+1024, which
is tolmk. 


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866




More information about the coreboot mailing list