Search code examples
linuxinterruptportingvxworks

Porting VxWorks intConnect API to linux


I am trying port VxWorks APIs to linux. It was working fine till I found intArchLib apis. How do I port int APIs (intConnect,intLock ...) to Linux.

intConnect : This api register an interrupt routine(ISR) for an interrupt vector(IRQ). This ISR will be invoked when registered interrupt occurs.

  1. Is it possible to port without a kernel mode driver in Linux?
  2. Is it possible to port without a user mode driver in Linux?

Please help me.

SS


Solution

  • There is no reasonable way to port intConnect to Linux. Said another way, intConnect is an API in vxWorks that ought not be used by device drivers directly. One should use intConnect to implement other high abstraction interfaces. For example, as of vxWorks 6.6, vxbIntConnect is implemented with intConnect.