On 8/14/07, Yeoh Chun Yeow <[EMAIL PROTECTED]> wrote:
>  On 8/13/07, Gilles Chanteperdrix <[EMAIL PROTECTED] > wrote:
> > Yeoh Chun Yeow wrote:
> > > Dear all,
> > >
> > > Is that possible to share the system timer interrupt used for xenomai
> kernel
> > > scheduling for any other purposes?
> > >
> > > Please advice. Thanks
> >
> > I guess you are talking about Xenomai on AT91. Xenomai on AT91 does not
> > use the system timer interrupt, it uses the timer counter interrupt
> > instead. So, yes, you can use system timer interrupt for any other non
> > real-time activity.
> >
> > Now, if your question is to know if it is possible to share an interrupt
> > between real-time and not real-time activity, the answer is that it is
> > not easy. If you want to do this, you will have to move the hardware
> > acknowledgement part of the non real-time interrupt handler to a
> > real-time interrupt handler, and, when an event is pending for the non
> > real-time domain, propagate the irq.
> >
> Dear Gilles,
>
> Thanks for your response. Yes, I know that AT91 uses the TC instead of
> system timer interrupt.
>
> FYI, I also doing development using Intel M Processor.

Then, if you need a function to be called upon timer interrupt use a
timer, either a Xenomai timer (posix timer, or native alarm), or a
Linux timer

-- 
                                               Gilles Chanteperdrix

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

Reply via email to