[SeaBIOS] [PATCH v2 2/2] seabios: pciinit: use pci device initializer helper function.

Kevin O'Connor kevin at koconnor.net
Sat Jul 10 19:14:06 CEST 2010


On Wed, Jul 07, 2010 at 12:14:02PM +0900, Isaku Yamahata wrote:
> This patch makes use of pci device initialization helper function
> to convert if/switch clause to table driven.
> So this makes it easier to add q35 initialization code.
> 
> Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>

I committed the first patch.  I committed the second patch after
fixing up the compile on it.

You're likely seeing " Working around non-functional -combine" printed
during the build.  When in this mode the build textually includes all
the .c files in order to still take advantage of the -fwhole-program
optimization.  Unfortunately in this mode, improper includes can slip
through.

You might want to try grabbing a newer version of gcc.  I believe both
the latest gcc v4.4 and gcc v4.5 work correctly.

-Kevin



More information about the SeaBIOS mailing list