Ignore:
Timestamp:
Oct 9, 2009, 1:46:39 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
7cb7a5ef
Parents:
bbf6253
Message:

2009-10-09 Sebastian Huber <Sebastian.Huber@…>

  • cpukit/sapi/include/rtems/io.h: Documentation.
  • cpukit/sapi/src/ioregisterdriver.c: Call from interrupt context is an error.
  • cpukit/sapi/src/iounregisterdriver.c: Disable preemption during critical section.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/src/ioregisterdriver.c

    rbbf6253 r031b57c  
    6969  rtems_device_major_number major_limit = _IO_Number_of_drivers;
    7070
     71  if ( rtems_interrupt_is_in_progress() )
     72    return RTEMS_CALLED_FROM_ISR;
     73
    7174  if ( registered_major == NULL )
    7275    return RTEMS_INVALID_ADDRESS;
Note: See TracChangeset for help on using the changeset viewer.