PR1091/patch

* cpu_asm.S: Reduce mask from 0xffc to 0x3fc so only the vector
	bits are used when calculating the exception vector.
This commit is contained in:
Till Straumann
2006-06-19 23:22:04 +00:00
parent 06cfd95d98
commit 412da6df02
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -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
+1 -1
View File
@@ -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 )