I need to install a handler to listen to a PCI board interrupt on QNX4.
I am already obtaining some data from the PCI board registers, now my
problem is
only listen to an interrupt.
Thanks for any help,
Andre
I need to install a handler to listen to a PCI board interrupt on QNX4.
I am already obtaining some data from the PCI board registers, now my
problem is
only listen to an interrupt.
Thanks for any help,
Andre
Once you have acquired the board’s irq and I/O address using the
_CA_PCI_xxx() calls, you can then use them in exactly the same manner as if
they were hardcoded ISA values, that is, using the qnx_hint_xxxx() calls. A
while back I had to substitute PCI devices for ISA devices, and almost all
of my existing code remained unchanged.
Remember, though, that the _CA_PCI_xxxx() calls won’t work from within a
Photon application, due to stack restrictions. Instead, there is a package
on the free QNX site that implements those calls in a separate server task.
I believe the package is ca_pcs_msg.tgz in the samples directory.
“Andre Goddard Rosa” <goddard@audiolab.com.br> wrote in message
news:bl1s6k$6es$1@inn.qnx.com…
I need to install a handler to listen to a PCI board interrupt on QNX4.
I am already obtaining some data from the PCI board registers, now my
problem is
only listen to an interrupt.
Thanks for any help,Andre
Sorry, that’s ca_pci_msg.tgz
“Kevin Miller” <kevin.miller@transcore.com> wrote in message
news:bl1v0e$6cu$1@nntp.qnx.com…
Once you have acquired the board’s irq and I/O address using the
_CA_PCI_xxx() calls, you can then use them in exactly the same manner as
if
they were hardcoded ISA values, that is, using the qnx_hint_xxxx() calls.
A
while back I had to substitute PCI devices for ISA devices, and almost all
of my existing code remained unchanged.Remember, though, that the _CA_PCI_xxxx() calls won’t work from within a
Photon application, due to stack restrictions. Instead, there is a package
on the free QNX site that implements those calls in a separate server
task.
I believe the package is ca_pcs_msg.tgz in the samples directory.“Andre Goddard Rosa” <> goddard@audiolab.com.br> > wrote in message
news:bl1s6k$6es$> 1@inn.qnx.com> …
I need to install a handler to listen to a PCI board interrupt on QNX4.I am already obtaining some data from the PCI board registers, now my
problem is
only listen to an interrupt.
Thanks for any help,Andre
\
“Andre Goddard Rosa” <goddard@audiolab.com.br> wrote in message
news:bl1s6k$6es$1@inn.qnx.com…
I need to install a handler to listen to a PCI board interrupt on QNX4.
Some things in the documentation aren’t well explain but this isn’t one of
them You should
find all the info that you need in the documentation start with
qnx_hint_attach().
I am already obtaining some data from the PCI board registers, now my
problem is
only listen to an interrupt.
Thanks for any help,Andre