Display database entries for PCI-related resources
rsrcdb_query [-i a|f|u] [-m a|f|u] [-v[v...]]
QNX Neutrino
The rsrcdb_query utility displays resource database entries for PCI-related resources, namely available address spaces and vectors for MSI/MSI-X interrupts. This information is populated by the hardware-dependent module and is what's used to allocate address space and interrupts to devices during configuration.
Here's some sample output from rsrcdb_query -ma:
All PCI address spaces ----------------------- [MEM] 0x000000000009f800 - 0x00000000000fffff: sz: 0x0000000000060800 [MEM] 0x000000000fef0000 - 0x000000000fefffff: sz: 0x0000000000010000 [MEM] 0x0000000010000000 - 0x00000000c8ffffff: sz: 0x00000000b9000000 [MEM] 0x00000000c9000000 - 0x00000000ca3fffff: sz: 0x0000000001400000 [MEM] 0x00000000ca400000 - 0x00000000febfffff: sz: 0x0000000034800000 [MEM] 0x00000000fec00000 - 0x00000000ffffffff: sz: 0x0000000001400000 [I/O] 0x0000000000000000 - 0x0000000000001fff: sz: 0x0000000000002000 [I/O] 0x0000000000002000 - 0x0000000000003fff: sz: 0x0000000000002000 [I/O] 0x0000000000004000 - 0x000000000000ffff: sz: 0x000000000000c000