[SeaBIOS] [PATCH 0/4] Use 'struct pci_device' to limit option rom execution.

Kevin O'Connor kevin at koconnor.net
Wed Jun 22 05:11:16 CEST 2011


This patch series extends the proliferation of 'struct pci_device'
which was introduced in the last patch series.

The objective of this series is to ensure that ATA devices configured
to use the native ATA driver don't attempt to run an option rom on the
device.  This can become complex when a device that isn't identified
as a PCI_CLASS_STORAGE_IDE uses the native ATA driver.  So, a bit in
the 'struct pci_device' now notes when a native driver is in use and
the option rom code checks for it.

Gerd - this patch series (and the previous one) may conflict with your
work.


Kevin O'Connor (4):
  Use manual PCI search when making bios ram writable.
  Move pci_probe() call into pciinit() code.
  Convert pci_init_device to use 'struct pci_device'.
  Use 'struct pci_device' to note which devices have native drivers.

 src/acpi.c       |   16 ++++++------
 src/ata.c        |   14 ++++++----
 src/optionroms.c |    4 +--
 src/pci.c        |   33 +++++++++++---------------
 src/pci.h        |   11 ++++++--
 src/pciinit.c    |   69 ++++++++++++++++++++++++++++++++----------------------
 src/post.c       |    1 -
 src/shadow.c     |   41 ++++++++++++++------------------
 src/smm.c        |    6 ++--
 9 files changed, 101 insertions(+), 94 deletions(-)

-- 
1.7.4.4




More information about the SeaBIOS mailing list