freebsd-skq/sys/dev/pci
Jean-Sébastien Pédron 509a8ff67a vga_pci: Add API to map the Video BIOS
Here are two new functions to map and unmap the Video BIOS:
    void * vga_pci_map_bios(device_t dev, size_t *size);
    void   vga_pci_unmap_bios(device_t dev, void *bios);

The BIOS is either taken from the shadow copy made by the System BIOS at
boot time if the given device was used for the default display (i386,
amd64 and ia64 only), or from the PCI expansion ROM.

Additionally, one can determine if a given device was the default
display at boot time using the following new function:
    void   vga_pci_unmap_bios(device_t dev, void *bios);
2013-08-25 18:09:11 +00:00
..
eisa_pci.c - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
fixup_pci.c Use device_printf(). 2013-08-11 06:57:57 +00:00
hostb_pci.c Expand the set of APIs available for locating PCI capabilities: 2012-03-03 18:08:57 +00:00
ignore_pci.c
isa_pci.c Implement BUS_ADD_CHILD() for the isab(4) driver. It already calls 2011-12-14 12:34:02 +00:00
pci_if.m Expand the set of APIs available for locating PCI capabilities: 2012-03-03 18:08:57 +00:00
pci_pci.c Properly handle I/O windows in bridges with the ISA enable bit set. These 2013-07-18 15:17:11 +00:00
pci_private.h Properly handle I/O windows in bridges with the ISA enable bit set. These 2013-07-18 15:17:11 +00:00
pci_subr.c Respect the BIOS/firmware's notion of acceptable address ranges for PCI 2011-07-15 21:08:58 +00:00
pci_user.c Always initialize pattern_buf pointers to NULL, otherwise AMD64 machine 2012-12-26 13:07:17 +00:00
pci.c Properly handle I/O windows in bridges with the ISA enable bit set. These 2013-07-18 15:17:11 +00:00
pcib_if.m
pcib_private.h Properly handle I/O windows in bridges with the ISA enable bit set. These 2013-07-18 15:17:11 +00:00
pcireg.h Add new capability types encodings from HyperTransport I/O Link 2013-05-17 14:04:31 +00:00
pcivar.h vga_pci: Add API to map the Video BIOS 2013-08-25 18:09:11 +00:00
vga_pci.c vga_pci: Add API to map the Video BIOS 2013-08-25 18:09:11 +00:00