Changeset 952d8f71 in rtems


Ignore:
Timestamp:
Mar 12, 2009, 2:17:21 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
92ce6ac
Parents:
1a813d50
Message:

2009-03-12 Joel Sherrill <joel.sherrill@…>

PR 1385/cpukit

  • startup/exception.S: When the type rtems_boolean was switched to the C99 bool, the size changed from 4 bytes to 1 byte. The interrupt dispatching code accesses two boolean variables for scheduling purposes and the assembly implementations of this code did not get updated.
Location:
c/src/lib/libbsp/mips
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/hurricane/ChangeLog

    r1a813d50 r952d8f71  
     12009-03-12      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1385/cpukit
     4        * startup/exception.S: When the type rtems_boolean was switched to the
     5        C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
     6        dispatching code accesses two boolean variables for scheduling
     7        purposes and the assembly implementations of this code did not get
     8        updated.
     9
    1102008-12-08      Ralf Corsépius <ralf.corsepius@rtems.org>
    211
  • c/src/lib/libbsp/mips/hurricane/startup/exception.S

    r1a813d50 r952d8f71  
    9898EXTERN(_ISR_Nest_level, 4)
    9999EXTERN(_Thread_Dispatch_disable_level,4)
    100 EXTERN(_Context_Switch_necessary,4)
    101 EXTERN(_ISR_Signals_to_thread_executing,4)
     100EXTERN(_Context_Switch_necessary,1)
     101EXTERN(_ISR_Signals_to_thread_executing,1)
    102102.extern _Thread_Dispatch
    103103.extern _ISR_Vector_table
     
    282282   *    goto the label "exit interrupt (simple case)"
    283283   */
    284         lw      t0,_Context_Switch_necessary
    285         lw      t1,_ISR_Signals_to_thread_executing
    286         NOP
    287         or      t0,t0,t1
     284        lb      t0,_Context_Switch_necessary
     285        lb      t1,_ISR_Signals_to_thread_executing
     286        NOP
     287        or      t0,t0,t1
    288288        beq     t0,zero,_ISR_Handler_exit
    289289        NOP
     
    417417       
    418418        bgez    k0,USC_isr2     /* branch if not a heartbeat interrupt */
     419        NOP
    419420
    420421        /* clear the heartbeat interrupt */
  • c/src/lib/libbsp/mips/rbtx4925/ChangeLog

    r1a813d50 r952d8f71  
     12009-03-12      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1385/cpukit
     4        * startup/exception.S: When the type rtems_boolean was switched to the
     5        C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
     6        dispatching code accesses two boolean variables for scheduling
     7        purposes and the assembly implementations of this code did not get
     8        updated.
     9
    1102008-12-08      Ralf Corsépius <ralf.corsepius@rtems.org>
    211
  • c/src/lib/libbsp/mips/rbtx4925/startup/exception.S

    r1a813d50 r952d8f71  
    9797EXTERN(_ISR_Nest_level, 4)
    9898EXTERN(_Thread_Dispatch_disable_level,4)
    99 EXTERN(_Context_Switch_necessary,4)
    100 EXTERN(_ISR_Signals_to_thread_executing,4)
     99EXTERN(_Context_Switch_necessary,1)
     100EXTERN(_ISR_Signals_to_thread_executing,1)
    101101.extern _Thread_Dispatch
    102102.extern _ISR_Vector_table
     
    322322   *    goto the label "exit interrupt (simple case)"
    323323   */
    324         lw      t0,_Context_Switch_necessary
    325         lw      t1,_ISR_Signals_to_thread_executing
    326         NOP
    327         or      t0,t0,t1
     324        lb      t0,_Context_Switch_necessary
     325        lb      t1,_ISR_Signals_to_thread_executing
     326        NOP
     327        or      t0,t0,t1
    328328        beq     t0,zero,_ISR_Handler_exit
    329329        NOP
  • c/src/lib/libbsp/mips/rbtx4938/ChangeLog

    r1a813d50 r952d8f71  
     12009-03-12      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1385/cpukit
     4        * startup/exception.S: When the type rtems_boolean was switched to the
     5        C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
     6        dispatching code accesses two boolean variables for scheduling
     7        purposes and the assembly implementations of this code did not get
     8        updated.
     9
    1102008-12-08      Ralf Corsépius <ralf.corsepius@rtems.org>
    211
  • c/src/lib/libbsp/mips/rbtx4938/startup/exception.S

    r1a813d50 r952d8f71  
    9797EXTERN(_ISR_Nest_level, 4)
    9898EXTERN(_Thread_Dispatch_disable_level,4)
    99 EXTERN(_Context_Switch_necessary,4)
    100 EXTERN(_ISR_Signals_to_thread_executing,4)
     99EXTERN(_Context_Switch_necessary,1)
     100EXTERN(_ISR_Signals_to_thread_executing,1)
    101101.extern _Thread_Dispatch
    102102.extern _ISR_Vector_table
     
    322322   *    goto the label "exit interrupt (simple case)"
    323323   */
    324         lw      t0,_Context_Switch_necessary
    325         lw      t1,_ISR_Signals_to_thread_executing
    326         NOP
    327         or      t0,t0,t1
     324        lb      t0,_Context_Switch_necessary
     325        lb      t1,_ISR_Signals_to_thread_executing
     326        NOP
     327        or      t0,t0,t1
    328328        beq     t0,zero,_ISR_Handler_exit
    329329        NOP
Note: See TracChangeset for help on using the changeset viewer.