summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2006-06-19 23:22:04 +0000
committerTill Straumann <strauman@slac.stanford.edu>2006-06-19 23:22:04 +0000
commit412da6df021710244de440305aadadfe6e08c39e (patch)
treeb4b9954bf6d9138826e7c13afdf8633158afbcb1
parent Indicate that it's ok to use decoupled cycles to access (diff)
downloadrtems-412da6df021710244de440305aadadfe6e08c39e.tar.bz2
PR1091/patch
* cpu_asm.S: Reduce mask from 0xffc to 0x3fc so only the vector bits are used when calculating the exception vector.
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/m68k/ChangeLog6
-rw-r--r--cpukit/score/cpu/m68k/cpu_asm.S2
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/score/cpu/m68k/ChangeLog b/cpukit/score/cpu/m68k/ChangeLog
index 1475d13eda..f8d08a2e2a 100644
--- a/cpukit/score/cpu/m68k/ChangeLog
+++ b/cpukit/score/cpu/m68k/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-19 Till Straumann <strauman@slac.stanford.edu>
+
+ PR1091/patch
+ * cpu_asm.S: Reduce mask from 0xffc to 0x3fc so only the vector
+ bits are used when calculating the exception vector.
+
2006-02-28 Eric Norum <norume@aps.anl.gov>
PR 904/patch
diff --git a/cpukit/score/cpu/m68k/cpu_asm.S b/cpukit/score/cpu/m68k/cpu_asm.S
index 9156212311..e53816dde3 100644
--- a/cpukit/score/cpu/m68k/cpu_asm.S
+++ b/cpukit/score/cpu/m68k/cpu_asm.S
@@ -135,7 +135,7 @@ SYM (_ISR_Handler):
movm.l d0-d1/a0-a1,a7@ | save d0-d1,a0-a1
#endif
movew a7@(SAVED+FVO_OFFSET),d0 | d0 = F/VO
- andl #0x0ffc,d0 | d0 = vector offset in vbr
+ andl #0x03fc,d0 | d0 = vector offset in vbr
#if ( CPU_HAS_SOFTWARE_INTERRUPT_STACK == 1 )