Calling rtems_io_lookup_name from within an ISR

Jamie Bowman jamie.bowman at steepestascent.com
Tue May 11 16:27:47 UTC 2010


Joel

Thanks for your speedy response.

	Jamie 

-----Original Message-----
From: Joel Sherrill [mailto:joel.sherrill at oarcorp.com] 
Sent: 11 May 2010 17:25
To: Jamie.Bowman at steepestascent.com
Cc: rtems-users at rtems.org
Subject: Re: 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





More information about the users mailing list