Documentation question - Interrupt Manager

Joel Sherrill joel.sherrill at OARcorp.com
Fri Feb 27 14:32:23 UTC 2009


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





More information about the users mailing list