Yeoh Chun Yeow wrote:
 > Dear all,
 > 
 > I have try to attach a AT91 TC hardware interrupt using rtdm_irq_request.

Sorry, I misunderstood your question. No, you can not do that, the TC
hardware is driven by Xenomai in one shot mode, you can not expect it to
tick on a regular basis. Besides, timers (either posix timers or native
alarms) are really what you are looking for. Nevertheless, you should
not get a oops when trying to do that.

 > 
 > Whenever the rtdm_irq_request is called, the kernel Oops occurs.
 > 
 > Any ideas on the problem?


Either a programming error, or a bug in Xenomai. Could you show us the
code that triggers this behaviour ? Did you enable support for shared
IRQs in Xenomai ? The TC irq has to be shared in Xenomai domain, since
it is used by Xenomai and you also want to use it.

-- 


                                            Gilles Chanteperdrix.

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

Reply via email to