RTEMS API calls from ISR.

Needell Gerald jerry.needell at unh.edu
Tue Jun 1 19:47:11 UTC 2010


I have used the first 2 calls from ISRS on a SPARC/LEON3 BSP. I have never tried the 3rd. Note, that for the SPARC, no RTEMS system calls may be made from a Non-Maskable Interrupt (NMI) Service Routine.
I hope that helps - Jerry
On Jun 1, 2010, at 11:29 AM, Nick Thomas wrote:

> Hi,
> 
> Is it safe to call any of these calls from inside an ISR?
> 
> rtems_task_is_suspended
> rtems_task_resume
> rtems_task_wake_if_delayed
> 
> I have some code which tries to wake up a task, but this code is run in an
> ISR.
> 
> So, is it OK to do this?
> 
> 
> Regards
> 
> Nick
> 
> -----------------------------
> Nick Thomas
> Email: nick.thomas at pixsan.com 
> 
> 
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users




More information about the users mailing list