Strip down i386 PCI configuration space I/O to the bare minimum. A
authorMichael Brown <mcb30@etherboot.org>
Wed, 17 May 2006 01:12:11 +0000 (01:12 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 17 May 2006 01:12:11 +0000 (01:12 +0000)
commit6b6096d28ba0ac47af9070df7ebaf1fdda099a4f
treea2cb39a02b85a9df08f3beb9db52a9045b57804f
parent15ee09ed10d71969abeea9f578f061e096ef43d0
Strip down i386 PCI configuration space I/O to the bare minimum.  A
typical build will now include 880 bytes of PCI support code, compared to
2327 bytes in Etherboot 5.4.

(There is a slight cost of around 5 extra bytes per access to a
non-constant config space address; this should be an overall win.
Driver-specific accesses will usually be to constant addresses, for
which there is no additional cost.)
src/arch/i386/core/pci_io.c [deleted file]
src/arch/i386/core/pcibios.c [new file with mode: 0644]
src/arch/i386/core/pcidirect.c [new file with mode: 0644]
src/arch/i386/include/pci_io.h
src/arch/i386/include/pcibios.h [new file with mode: 0644]
src/arch/i386/include/pcidirect.h [new file with mode: 0644]
src/drivers/bus/pci.c
src/include/gpxe/pci.h