[SeaBIOS] [PATCH 0/2] use new etc/e820 fw_cfg file for ram detection

Gerd Hoffmann kraxel at redhat.com
Mon Nov 18 09:02:57 CET 2013

On Sa, 2013-11-16 at 00:35 -0500, Kevin O'Connor wrote:
> On Wed, Nov 06, 2013 at 09:39:03AM +0100, Gerd Hoffmann wrote:
> >   Hi,
> > 
> > qemu got a new fw_cfg file named "etc/e820" carrying e820 ram regions
> > and reservations.  This little patch series makes seabios use it if
> > present.  It also moves qemu e820 initialization into its own function.
> How does this series work when setting ram under 4gig?  Seabios
> configures it's malloc zones before it reads the e820 table, so
> doesn't that make this difficult?

cmos is still used/needed for the first memory block.  etc/e820 entries
overlapping with the lowmem detected via cmos are ignored.  Patch #2
actually adds a comment to the code which handles this to make clear how
this works.


More information about the SeaBIOS mailing list