summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/m68k
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-26 15:09:10 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-29 09:51:22 +0200
commit03b7789ec7d0ffd3621ea4c20d564d2a93e182a5 (patch)
tree660264446f43759a40ae5ab1d8d01eaaee7485b2 /cpukit/score/cpu/m68k
parentbsps/mips: Delete unused files (diff)
downloadrtems-03b7789ec7d0ffd3621ea4c20d564d2a93e182a5.tar.bz2
score: Statically initialize _ISR_Vector_table
Diffstat (limited to 'cpukit/score/cpu/m68k')
-rw-r--r--cpukit/score/cpu/m68k/cpu_asm.S9
1 files changed, 2 insertions, 7 deletions
diff --git a/cpukit/score/cpu/m68k/cpu_asm.S b/cpukit/score/cpu/m68k/cpu_asm.S
index 4db6723db7..a31c1588a4 100644
--- a/cpukit/score/cpu/m68k/cpu_asm.S
+++ b/cpukit/score/cpu/m68k/cpu_asm.S
@@ -276,13 +276,8 @@ SYM (_ISR_Handler):
addql #1,ISR_NEST_LEVEL | one nest level deeper
- movel SYM (_ISR_Vector_table),a0 | a0= base of RTEMS table
-#if ( M68K_HAS_PREINDEXING == 1 )
- movel (a0,d0:w:1),a0 | a0 = address of user routine
-#else
- addal d0,a0 | a0 = address of vector
- movel (a0),a0 | a0 = address of user routine
-#endif
+ lea SYM(_ISR_Vector_table),a0
+ movel (a0,d0),a0 | a0 = address of user routine
lsrl #2,d0 | d0 = vector number
movel d0,a7@- | push vector number