Changeset 0067feb in rtems for cpukit/score/cpu/m68k/cpu_asm.S


Ignore:
Timestamp:
03/12/09 14:16:50 (14 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
d2c730f8
Parents:
fb0a7e9
Message:

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

PR 1385/cpukit

  • cpu_asm.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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/m68k/cpu_asm.S

    rfb0a7e9 r0067feb  
    338338  #endif
    339339#endif
    340         tstl    SYM (_Context_Switch_necessary)
     340        tstb    SYM (_Context_Switch_necessary)
    341341                                         | Is thread switch necessary?
    342342        bne.b   bframe                   | Yes, invoke dispatcher
    343343
    344         tstl    SYM (_ISR_Signals_to_thread_executing)
     344        tstb    SYM (_ISR_Signals_to_thread_executing)
    345345                                         | signals sent to Run_thread
    346346                                         |   while in interrupt handler?
    347347        beq.b   exit                     | No, then exit
    348348
    349 bframe: clrl    SYM (_ISR_Signals_to_thread_executing)
     349bframe: clrb    SYM (_ISR_Signals_to_thread_executing)
    350350                                         | If sent, will be processed
    351351#if ( M68K_HAS_SEPARATE_STACKS == 1 )
Note: See TracChangeset for help on using the changeset viewer.