我正在尝试将 VxWorks API 移植到 Linux。在我找到 intArchLib api 之前,它工作正常。如何将 int API(intConnect、intLock ...)移植到 Linux。
intConnect :此 api 为中断向量 (IRQ) 注册一个中断例程 (ISR)。当注册中断发生时,将调用此 ISR。
- 是否可以在 Linux 中不使用内核模式驱动程序进行移植?
- 是否可以在 Linux 中不使用用户模式驱动程序进行移植?
请帮帮我。
SS
最佳答案
没有合理的方法将 intConnect 移植到 Linux。换句话说,intConnect是vxWorks中的一个API,不应该被设备驱动程序直接使用。应该使用 intConnect 来实现其他高抽象接口(interface)。例如,从 vxWorks 6.6 开始,vxbIntConnect 是用 intConnect 实现的。
关于linux - 将 VxWorks intConnect API 移植到 linux,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12603375/