[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calling rtems_io_lookup_name from within an ISR



On 05/11/2010 11:01 AM, Jamie Bowman wrote:
>
> All
>
> Hopefully this should be quite an easy one. Within the RTEMS 
> Documentation ?c_user? it states that the following is a list of RTEMS 
> system calls that may be made from an ISR:
>
>     * IO Management
>
> The following services are safe to call from an ISR if and only if the 
> device driver service invoked is also safe. The IO Manager itself is 
> safe but the invoked driver entry point may or may not be. 
> rtems_io_initialize, rtems_io_open, rtems_io_close, rtems_io_read, 
> rtems_io_write, rtems_io_ control
>
> Is it safe to call an rtems_io_lookup_name from within an ISR?
>
No.  It uses the filesystem and that is not safe from ISRs.
>
> Kind regards
>
>             Jamie
>


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