Interrupt Routine Connection
A carrier-specific version of intConnect is needed for module ISRs installed in an ISA-bus carrier.
- The carrier driver has to provide its own ISR and redirect module interrupts by calling the relevant moduleÆs ISR itself.
Added a new function pointer to the IPAC carrier table:
int (*intConnect)(void *cPrivate, ushort_t slot, ushort_t vecNum, void (*routine)(int parameter), int parameter);
And the related routine for IP module drivers to call:
int ipmIntConnect(ushort_t carrier, ushort_t slot, ushort_t vecNum, void (*routine)(int parameter), int parameter);
If the function pointer in the IPAC carrier table is NULL, the standard vxWorks intConnect routine is called.
Module drivers must not use the INUM_TO_IVEC(vecNum) macro.