Hi,
Here is v2 of the two-pass pci initialization code.
Changed code according to Kevin's review:
* Fixed the bus check.
* Using a pci region type array now, which indeed made
the code simpler and shorter.
* The memory hole stuff is gone, there is a single
address space area now.
cheers,
Gerd
PS: also available here: http://www.kraxel.org/cgit/seabios/log/?h=pci.2
Gerd Hoffmann (4):
pci: add two-pass pci initialization code
pci: activate two-pass pci initialization code
pci: remove old pci initilaization code
pci: init boot devices only on address space shortage
Makefile | 2 +-
src/pci.c | 3 +
src/pci.h | 8 +
src/pci_region.c | 77 --------
src/pciinit.c | 538 ++++++++++++++++++++++++++++++++++++------------------
src/util.h | 31 +---
6 files changed, 377 insertions(+), 282 deletions(-)
delete mode 100644 src/pci_region.c
_______________________________________________
SeaBIOS mailing list
[email protected]
http://www.seabios.org/mailman/listinfo/seabios