Changeset 0153d180 in rtems


Ignore:
Timestamp:
Apr 27, 1998, 3:28:43 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
eac9871
Parents:
baa876a4
Message:

Fixed trace bit manipulation per requests from Eric Norum and Chris Johns.
Actual patch was from Eric Norum.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/cpu/m68k/cpu_asm.s

    rbaa876a4 r0153d180  
    209209        movec   msp,a0                   | a0 = master stack pointer
    210210        movew   #0,a0@-                  | push format word
    211         movel   # SYM (_ISR_Dispatch),a0@- | push return addr
    212         | filter out the trace bit to stop single step debugging breaking
    213         movew   a0@(6+SR_OFFSET),d0
    214         andw    #0x7FFF,d0
    215         movew   d0,a0@-                  | push thread sr
     211        movel   #SYM(_ISR_Dispatch),a0@- | push return addr
     212        movew   sr,a0@-                  | push existing sr
    216213        movec   a0,msp                   | set master stack pointer
    217214#else
    218 
    219         | filter out the trace bit to stop single step debugging breaking
    220         movew   a7@(16+SR_OFFSET),d0
    221         andw    #0x7FFF,d0
    222         movew   d0,sr
    223         jsr SYM (_Thread_Dispatch)
     215        jsr SYM (_Thread_Dispatch)       | Perform context switch
    224216#endif
    225217
Note: See TracChangeset for help on using the changeset viewer.