Changeset 34d877e in rtems for cpukit


Ignore:
Timestamp:
Jun 7, 1995, 2:40:23 AM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
620d699
Parents:
9526d217
Message:

corrected pseudo-code for _ISR_Handler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/no_cpu/cpu_asm.c

    r9526d217 r34d877e  
    137137   *  (*_ISR_Vector_table[ vector ])( vector );
    138138   *
    139    *  if ( --__ISR_Nest_level == 0 ) {
    140    *    if ( _Context_Switch_necessary || _ISR_Signals_to_thread_executing )
    141    *      call _Thread_Dispatch() or prepare to return to _ISR_Dispatch
     139   *  --_ISR_Nest_level;
     140   *
     141   *  if ( _ISR_Nest_level )
     142   *    goto the label "exit interrupt (simple case)"
     143   *
    142144   *  #if ( CPU_HAS_SOFTWARE_INTERRUPT_STACK == TRUE )
    143145   *    restore stack
    144146   *  #endif
    145    *  }
     147   * 
     148   *  if ( !_Context_Switch_necessary )
     149   *    goto the label "exit interrupt (simple case)"
     150   * 
     151   *  if ( !_ISR_Signals_to_thread_executing )
     152   *    goto the label "exit interrupt (simple case)"
     153   *
     154   *  call _Thread_Dispatch() or prepare to return to _ISR_Dispatch
    146155   *
    147156   *  prepare to get out of interrupt
     157   *  return from interrupt  (maybe to _ISR_Dispatch)
     158   *
     159   *  LABEL "exit interrupt (simple case):
     160   *  prepare to get out of interrupt
    148161   *  return from interrupt
    149    *
    150162   */
    151163}
Note: See TracChangeset for help on using the changeset viewer.