On 01/06/2012 03:11 PM, Terry Fryar wrote:
> Using Xen 2.6 with 2.6.38 kernel, have a kernel module with an ISR
> registered using rtdm_irq_request() that schedules a work queue.  This queue
> thread makes an spi call.

If the work queue you schedule is a linux work queue, that is not going
to work, for the same reason as in the last e-mail: you can not call
services interacting with Linux scheduler in xenomai context. So, if you
need an spi driver for real-time drivers or applicaitons, you have to
write one for the RTDM skin without using Linux services. There is no
way around.

> Not sure what this one means??  I see the "cpu_idle", and I vaguely recall
> some issue with that....but I don't remember what this was?

The cpu is idle most of the time, so, the idle function is the function
the most likely to be interrupted by an interrupt.

-- 
                                            Gilles.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to