RTEMS API calls from ISR.

Joel Sherrill joel.sherrill at OARcorp.com
Tue Jun 1 19:49:20 UTC 2010


On 06/01/2010 02:47 PM, Needell Gerald wrote:
> 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
>>
>>      
What is this last call?  I don't know it.

--joel
>> 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
>>      
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>    


-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985





More information about the users mailing list