pci-bios, pci-bios-v2

Provide support for the PCI BIOS

Note: You must be root to start this server.


For pci-bios:

pci-bios [-b buses] [-B] [-c num] [-m] [-v] [-x] [-dbios bios_options]

You must run pci-bios-v2 as pci-bios:

pci-bios [-b buses] [-B] [-c num] [-D] [-M] [-m] [-P addr:size]
         [-v] [-x] [-dbios bios_options]

Runs on:

QNX Neutrino




-b buses
The number of PCI buses to scan. The default is 10.
Force enumeration of bridges of type "OTHER".
-c num
Ignore certain device classes, depending on the value of num:
If num is: Ignore:
1 Device class zero
2 Device class 0xFFFFFF
3 Both of the above classes
(pci-bios-v2 only) Enable Message Signaled Interrupts (MSI) and Extended MSI (MSI-X) for video; they're disabled by default. This option is ignored if you also specify -M.
-dbios bios_options
BIOS options, which include:
Pass a list of IRQs to the BIOS. For example:
(pci-bios-v2 only) Disable MSI and MSI-X. By default, they're disabled for video devices, and enabled for other devices. The -D option has no effect if you specify -M.
Don't map IRQs; some BIOSs don't support IRQ mapping.
-P addr:size
(pci-bios-v2 only) Specify the address and size of the extended PCIe configuration space.
Verbose output; display detailed information on the console.
Don't remove devices from the PCI bus while enumerating them.


The pci-bios server provides PCI BIOS support. You'll have to provide it in your boot image for systems with a PCI BIOS. Invoke seedres before starting pci-bios.

This server creates the /dev/pci device. Wait for it to appear by specifying the following in the buildfile used by mkifs:

waitfor /dev/pci

The pci-bios-v2 server is similar to pci-bios, but supports Message Signaled Interrupts (MSI). You must use pci-bios-v2 if you're using startup-apic.

Note: If you're using pci-bios-v2, you must name it pci-bios in order for the enumerators to work correctly. In your buildfile, add pci-bios-v2 like this:

To assign MSI or MSI-X interrupts in a driver, use the PCI_USE_MSI or PCI_USE_MSIX flag when you call pci_attach_device(). For more information, see its entry in the QNX Neutrino C Library Reference.