Documentation question - Interrupt Manager

Joel Sherrill joel.sherrill at OARcorp.com
Fri Feb 27 16:43:56 UTC 2009


Manuel wrote:
> Thank you for solving this issue so fast! :)
>
>   
This one was easy. They are not all so easy. LOL!

--joel
>> -----Original Message-----
>> From: Joel Sherrill [mailto:joel.sherrill at oarcorp.com]
>> Sent: Friday, February 27, 2009 2:32 PM
>> To: Manuel
>> Cc: rtems-users at rtems.com
>> Subject: Re: Documentation question - Interrupt Manager
>>
>> Manuel wrote:
>>     
>>> Hi all,
>>>
>>>
>>>
>>> Have a documentation question regarding the RTEMS directives that can
>>> be used inside an ISR.
>>>
>>>
>>>
>>> Can't these directives be also called from an ISR:
>>>
>>>
>>>
>>>   rtems_interrupt_enable
>>>
>>>   rtems_interrupt_disable
>>>
>>>   rtems_interrupt_flash
>>>
>>>   rtems_interrupt_is_in_progress
>>>
>>>       
>> All of these for sure.  RTEMS uses the underlying SuperCore ISR
>> routines they wrap. :)
>>     
>>>   rtems_interrupt_catch
>>>
>>>
>>>
>>>       
>> This should be save as well.  But why would you want to?
>>     
>>> We believe that they can (perhaps not the catch), but not sure. The
>>> rtems_interrupt_is_in_progress makes all the sense being used inside
>>> an ISR.
>>>
>>>
>>>
>>>       
>> Definitely.  That was its intent.
>>     
>>> If these functions can be used, would it be possible to update the
>>> documentation?
>>>
>>>
>>>
>>>       
>> Sure.
>>     
>>> Looking forward to ear your feedback.
>>>
>>>
>>>
>>> Kind Regards
>>>
>>> Manuel Coutinho
>>>
>>>       
>> --
>> 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
>>
>>     
>
>
>   


-- 
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