diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-11-29 17:51:27 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-11-29 17:51:27 +0000 |
commit | 80868140c3a6350471c02fabe1fbf4a2a2712456 (patch) | |
tree | 71e58898714ad52dc6848110ec02d2b649a9b9d3 /c/src/exec/score | |
parent | Removed warning. (diff) | |
download | rtems-80868140c3a6350471c02fabe1fbf4a2a2712456.tar.bz2 |
Patch from Chris Johns to filter out the trace bit on CPU models
which have hardware support for a separate interrupt stack.
Diffstat (limited to 'c/src/exec/score')
-rw-r--r-- | c/src/exec/score/cpu/m68k/cpu_asm.s | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/c/src/exec/score/cpu/m68k/cpu_asm.s b/c/src/exec/score/cpu/m68k/cpu_asm.s index 148937e822..b3af369bba 100644 --- a/c/src/exec/score/cpu/m68k/cpu_asm.s +++ b/c/src/exec/score/cpu/m68k/cpu_asm.s @@ -198,11 +198,14 @@ bframe: clrl SYM (_ISR_Signals_to_thread_executing) movec msp,a0 | a0 = master stack pointer movew #0,a0@- | push format word movel # SYM (_ISR_Dispatch),a0@- | push return addr - movew a0@(6+SR_OFFSET),a0@- | push thread sr + | filter out the trace bit to stop single step debugging breaking + movew a0@(6+SR_OFFSET),d0 + andw #0x7FFF,d0 + movew d0,a0@- | push thread sr movec a0,msp | set master stack pointer #else -| filter out the trace bit to stop single step debugging breaking + | filter out the trace bit to stop single step debugging breaking movew a7@(16+SR_OFFSET),d0 andw #0x7FFF,d0 movew d0,sr |