diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2006-06-19 23:26:52 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2006-06-19 23:26:52 +0000 |
commit | 244db0832c87eff5151fa3b125cf8ad3f9df7394 (patch) | |
tree | 049f2dbff4a31ce8e57a4d71bee1322122d8c350 | |
parent | 55c936b88b57ced5d62343bb12e68f9a782a8633 (diff) |
PR1091/patch
* cpu_asm.S: Reduce mask from 0xffc to 0x3fc so only the vector
bits are used when calculating the exception vector.
-rw-r--r-- | cpukit/score/cpu/m68k/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/score/cpu/m68k/cpu_asm.S | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/score/cpu/m68k/ChangeLog b/cpukit/score/cpu/m68k/ChangeLog index 9a8f497ccf..8cd2d95ff9 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-03-01 Eric Norum <norume@aps.anl.gov> * rtems/score/m68k.h: Add "cc" in the clobbered register list for diff --git a/cpukit/score/cpu/m68k/cpu_asm.S b/cpukit/score/cpu/m68k/cpu_asm.S index 2553d7486d..da2f0e613c 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 ) |