[SeaBIOS] [PATCHv2 0/4] PCI init code refactoring

Kevin O'Connor kevin at koconnor.net
Fri Oct 14 05:33:42 CEST 2011


Some cleanups to the pciinit.c code.

These are some things I noticed while tracking down the recent bug
reports caused by calling ALIGN_DOWN with a zero alignment.

This second version of the series is less ambitious than the first
version - it's limited to simpler changes that are more obvious.

-Kevin


Kevin O'Connor (4):
  Use standard formatting for PCI info during PCI init pass.
  Separate pciinit.c into clearly delineated sections.
  Use pci->header_type in pci_bar() to avoid unnecessary
    pci_config_readb.
  Simplify pci_slot_get_irq().

 src/pciinit.c |  301 +++++++++++++++++++++++++++++---------------------------
 1 files changed, 156 insertions(+), 145 deletions(-)

-- 
1.7.6.4




More information about the SeaBIOS mailing list