summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/h8300
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-03 16:36:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-03 16:36:23 +0000
commitfe7acdcf8b56a38212a7212493b4e07a70914d0f (patch)
tree9bd123ee54ad23b7ee3ce7455d7a35514828445a /c/src/exec/score/cpu/h8300
parent2001-01-03 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-fe7acdcf8b56a38212a7212493b4e07a70914d0f.tar.bz2
2001-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors(). * cpu_asm.S: Modify to properly dereference _ISR_Vector_table now that it is dynamically allocated.
Diffstat (limited to 'c/src/exec/score/cpu/h8300')
-rw-r--r--c/src/exec/score/cpu/h8300/ChangeLog6
-rw-r--r--c/src/exec/score/cpu/h8300/cpu_asm.S2
-rw-r--r--c/src/exec/score/cpu/h8300/rtems/score/cpu.h10
3 files changed, 16 insertions, 2 deletions
diff --git a/c/src/exec/score/cpu/h8300/ChangeLog b/c/src/exec/score/cpu/h8300/ChangeLog
index 15005bbf75..57e5358c57 100644
--- a/c/src/exec/score/cpu/h8300/ChangeLog
+++ b/c/src/exec/score/cpu/h8300/ChangeLog
@@ -1,3 +1,9 @@
+2001-01-03 Joel Sherrill <joel@OARcorp.com>
+
+ * rtems/score/cpu.h: Added _CPU_Initialize_vectors().
+ * cpu_asm.S: Modify to properly dereference _ISR_Vector_table
+ now that it is dynamically allocated.
+
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
diff --git a/c/src/exec/score/cpu/h8300/cpu_asm.S b/c/src/exec/score/cpu/h8300/cpu_asm.S
index d9c22f588e..1cef5abf67 100644
--- a/c/src/exec/score/cpu/h8300/cpu_asm.S
+++ b/c/src/exec/score/cpu/h8300/cpu_asm.S
@@ -128,7 +128,7 @@ nested:
/* Vector to ISR */
- mov.l #__ISR_Vector_table,er1
+ mov.l @__ISR_Vector_table,er1
mov er0,er2 ; copy vector
shll.l er2
shll.l er2 ; vector = vector * 4 (sizeof(int))
diff --git a/c/src/exec/score/cpu/h8300/rtems/score/cpu.h b/c/src/exec/score/cpu/h8300/rtems/score/cpu.h
index 8e3f081d30..055a006aed 100644
--- a/c/src/exec/score/cpu/h8300/rtems/score/cpu.h
+++ b/c/src/exec/score/cpu/h8300/rtems/score/cpu.h
@@ -601,7 +601,15 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT 2
-/* ISR handler macros */
+/*
+ * ISR handler macros
+ */
+
+/*
+ * Support routine to initialize the RTEMS vector table after it is allocated.
+ */
+
+#define _CPU_Initialize_vectors()
/* COPE With Brain dead version of GCC distributed with Hitachi HIView Tools.
Note requires ISR_Level be unsigned16 or assembler croaks.