Non RT PCI device driver vs interrupts
Hi,
I have a PCI card that works good with a non realtime device driver, I can catch interrupts from it.
Can I expect to be able to catch interrupts with rt_intr_wait() in a rt task?
Or, should I have to translate all the PCI device driver into xenomai-rtdm way?
(http://www.xenomai.org/index.php/Weblinks#Installation_of_Xenomai_and_RTDM_Driver_Writing)
Thanks
Hubert
Quoted 5 lines · Hubert Talbot
Hi,
I have a PCI card that works good with a non realtime device driver, I can catch interrupts from it.
Can I expect to be able to catch interrupts with
rt_intr_wait()in a rt task?
Yes, you can intercept an interrupt in a real-time task. However, if you want your Linux drivers to keep working, you will have to propagate every interrupt you receive.
Quoted 3 lines
Or, should I have to translate all the PCI device driver into xenomai-rtdm way?
(http://www.xenomai.org/index.php/Weblinks#Installation_of_Xenomai_and_RTDM_Driver_Writing)
It really depends, what do you want to do?
Signature · 1 line
Gilles Chanteperdrix