I’m presently attempting to convert the Neutrino sample capture utility for
BT848/BT878 capture cards to QNX 4.24. The card is currently functioning
properly if I just randomly take samples from the DMA buffers, however, when
I enable interrupt events on the card, QNX 4.24 freezes.
I’m using the following to trap the interrupt.
#pragma off( check_stack );
pid_t far handler()
return( 0 );
#pragma on( check_stack );
dev->irq_id=qnx_hint_attach( dev->irq, &handler, FP_SEG( &counter ) );
If I use qnx_hint_mask( dev->irq, 2 ); before activating the interrupt on
the card, there are no lockups, however, when I use qnx_hint_mask( dev->irq,
1 ); the system immediately freezes.
If I set dev->irq to the mouse interrupt, there are no freezes, and the
interrupt handler works normally when I move the mouse.
Any help is appreciated!