[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Calling rtems_io_lookup_name from within an ISR
- Date: Tue, 11 May 2010 17:27:47 +0100
- From: jamie.bowman at steepestascent.com (Jamie Bowman)
- Subject: Calling rtems_io_lookup_name from within an ISR
Thanks for your speedy response.
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:
> 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
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