rsrcdb_query

Display database entries for PCI-related resources

Syntax:

rsrcdb_query [-i a|f|u] [-m a|f|u] [-v[v...]]

Runs on:

QNX Neutrino

Options:

-i a|f|u
Display PCI interrupt information:
  • a — display all PCI interrupts (i.e., the database contents)
  • f — display free (unallocated) interrupts
  • u — display used (allocated) interrupts
-m a|f|u
Display PCI address space information:
  • a — display all PCI address spaces (i.e., the database contents)
  • f — display free (unallocated) address spaces
  • u — display used (allocated) address spaces
-v[v...]
Cumulatively increase the verbosity of displayed detail.

Description:

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.

Note: You must specify at least one of -i and -m.

Examples:

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