I want to develop a simulator of PCI card on QNX4.25 without real PCI card installed on the QNX system.
Currently, the QNX4.25 will use API functions such as _CA_PCI_Find_Device(), inp(), outp() and so on to configure and read/write the I/O port of PCI.
Currently, I can use the “show_pci” command to show some PCI info, but it didn’t contains the PCI card that I want.
I have two questions.
- Is it possible for that to create and register a virtual PCI card so that the QNX4.25 API function _CA_PCI_Find_Device() can detect it?
- As I can’t acess the link ftp.qnx.com:/usr/free/qnx4/os/utils/misc/pci_utils.tgz. Can any one give me a package of below source code “/usr/free/qnx4/os/utils/misc/pci_utils.tgz” for PCI device drive as described in below link qnx.com/developers/qnx4/qnx4 … ?code=9470?
Thanks in advance