Re: [Xenomai-core] tasklet using Xenomai

2009-11-10 Thread Jan Kiszka
Anisha Kaul wrote: Dear all, How to define a tasklet using Xenomai for a serial port interrupt handler? Does 'rtdm_event_init()' function work as a tasklet in Xenomai ? An RTDM event is a binary semaphore for use inside a kernel driver - probably not what you are looking for. What should be

Re: [Xenomai-core] tasklet using Xenomai

2009-11-10 Thread Anisha Kaul
Thanks for the prompt reply ! The tasklet I am talking about is supposed to re-set the registers of the serial port each time an interrupt occurs ! We can do this the following way in using Linux system calls : void resetRegisters (unsigned long currentlyUnused); DECLARE_TASKLET

Re: [Xenomai-core] tasklet using Xenomai

2009-11-10 Thread Jan Kiszka
Anisha Kaul wrote: Thanks for the prompt reply ! The tasklet I am talking about is supposed to re-set the registers of the serial port each time an interrupt occurs ! We can do this the following way in using Linux system calls : void resetRegisters (unsigned long currentlyUnused);

[Xenomai-core] tasklet using Xenomai

2009-11-09 Thread Anisha Kaul
Dear all, How to define a tasklet using Xenomai for a serial port interrupt handler? Does 'rtdm_event_init()' function work as a tasklet in Xenomai ? Thanking you in anticipation, Anisha Kaul - Hi-Tech Gears Limited, Gurgaon, India