m***@draper.com
2005-01-31 16:19:33 UTC
Hello,
At the application(user-level), is there a way of connecting a
user-defined C-function to a VME hardware interrupt under Linux?
Using a MVME5500 running Timesys Linux. I think that under VxWorks,
there was a API call intConnect(irq,fucntion pointer) that could called
from an application. Does Linux provide similar mechanism?
Looked at linux driver (vmeUniverse) source code files universe.c and
vme.c. The driver includes VME interrupt handler function that is
registered with kernel when driver is loaded and called for VME
interrupts. This driver handler function contains a EXPORT_SYMBOL
function pointer variable g_univVMEIntrHand which is called if
non-null.This function pointer is inialized to NULL.
Thought this function pointer could be referenced by user-level
application and if so could assign it address of my isr routine
Unable to compile my application when referencing this variable.
Any suggestions would be greatly appreciated!
Thanks!
Mike
At the application(user-level), is there a way of connecting a
user-defined C-function to a VME hardware interrupt under Linux?
Using a MVME5500 running Timesys Linux. I think that under VxWorks,
there was a API call intConnect(irq,fucntion pointer) that could called
from an application. Does Linux provide similar mechanism?
Looked at linux driver (vmeUniverse) source code files universe.c and
vme.c. The driver includes VME interrupt handler function that is
registered with kernel when driver is loaded and called for VME
interrupts. This driver handler function contains a EXPORT_SYMBOL
function pointer variable g_univVMEIntrHand which is called if
non-null.This function pointer is inialized to NULL.
Thought this function pointer could be referenced by user-level
application and if so could assign it address of my isr routine
Unable to compile my application when referencing this variable.
Any suggestions would be greatly appreciated!
Thanks!
Mike