summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-03 16:37:08 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-03 16:37:08 +0000
commitd6ea098b7712f5bf9a4f4c21291c95932bde6c0e (patch)
treed00837ae261a9cf4ac732ea9df103bbefd62f333 /c
parent2001-01-03 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-d6ea098b7712f5bf9a4f4c21291c95932bde6c0e.tar.bz2
2001-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/score/ChangeLog5
-rw-r--r--c/src/exec/score/cpu/mips64orion/ChangeLog4
-rw-r--r--c/src/exec/score/cpu/mips64orion/rtems/score/cpu.h10
-rw-r--r--c/src/exec/score/cpu/no_cpu/ChangeLog4
-rw-r--r--c/src/exec/score/cpu/no_cpu/rtems/score/cpu.h14
-rw-r--r--c/src/exec/score/cpu/or16/ChangeLog4
-rw-r--r--c/src/exec/score/cpu/or16/rtems/score/cpu.h14
-rw-r--r--c/src/exec/score/cpu/or32/ChangeLog4
-rw-r--r--c/src/exec/score/cpu/or32/rtems/score/cpu.h14
-rw-r--r--c/src/exec/score/cpu/sh/ChangeLog4
-rw-r--r--c/src/exec/score/cpu/sh/rtems/score/cpu.h12
-rw-r--r--c/src/exec/score/cpu/unix/ChangeLog4
-rw-r--r--c/src/exec/score/cpu/unix/rtems/score/cpu.h10
-rw-r--r--c/src/exec/score/src/isr.c2
14 files changed, 99 insertions, 6 deletions
diff --git a/c/src/exec/score/ChangeLog b/c/src/exec/score/ChangeLog
index 70104b6a3c..58e1d976de 100644
--- a/c/src/exec/score/ChangeLog
+++ b/c/src/exec/score/ChangeLog
@@ -1,4 +1,9 @@
+2001-01-03 Joel Sherrill <joel@OARcorp.com>
+
+ * src/isr.c: Modify to properly dereference _ISR_Vector_table
+ now that it is dynamically allocated.
+
2000-12-19 Joel Sherrill <joel@OARcorp.com>
* src/isr.c: Allocate the _ISR_Vector_table all the time not just when
diff --git a/c/src/exec/score/cpu/mips64orion/ChangeLog b/c/src/exec/score/cpu/mips64orion/ChangeLog
index d3ceec3c9f..2b5c3bfdca 100644
--- a/c/src/exec/score/cpu/mips64orion/ChangeLog
+++ b/c/src/exec/score/cpu/mips64orion/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-03 Joel Sherrill <joel@OARcorp.com>
+
+ * rtems/score/cpu.h: Added _CPU_Initialize_vectors().
+
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/mips64orion/rtems/score/cpu.h b/c/src/exec/score/cpu/mips64orion/rtems/score/cpu.h
index 35d936ec7e..0ed3da7ed4 100644
--- a/c/src/exec/score/cpu/mips64orion/rtems/score/cpu.h
+++ b/c/src/exec/score/cpu/mips64orion/rtems/score/cpu.h
@@ -571,7 +571,15 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT CPU_ALIGNMENT
-/* ISR handler macros */
+/*
+ * ISR handler macros
+ */
+
+/*
+ * Support routine to initialize the RTEMS vector table after it is allocated.
+ */
+
+#define _CPU_Initialize_vectors()
/*
* Disable all interrupts for an RTEMS critical section. The previous
diff --git a/c/src/exec/score/cpu/no_cpu/ChangeLog b/c/src/exec/score/cpu/no_cpu/ChangeLog
index c68a90e492..a4ea6a95e3 100644
--- a/c/src/exec/score/cpu/no_cpu/ChangeLog
+++ b/c/src/exec/score/cpu/no_cpu/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-03 Joel Sherrill <joel@OARcorp.com>
+
+ * rtems/score/cpu.h: Added _CPU_Initialize_vectors().
+
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/no_cpu/rtems/score/cpu.h b/c/src/exec/score/cpu/no_cpu/rtems/score/cpu.h
index 4e05963e04..729fce9364 100644
--- a/c/src/exec/score/cpu/no_cpu/rtems/score/cpu.h
+++ b/c/src/exec/score/cpu/no_cpu/rtems/score/cpu.h
@@ -636,7 +636,19 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT 0
-/* ISR handler macros */
+/*
+ * ISR handler macros
+ */
+
+/*
+ * Support routine to initialize the RTEMS vector table after it is allocated.
+ *
+ * NO_CPU Specific Information:
+ *
+ * XXX document implementation including references if appropriate
+ */
+
+#define _CPU_Initialize_vectors()
/*
* Disable all interrupts for an RTEMS critical section. The previous
diff --git a/c/src/exec/score/cpu/or16/ChangeLog b/c/src/exec/score/cpu/or16/ChangeLog
index 7c855e7d5b..6d237e9c24 100644
--- a/c/src/exec/score/cpu/or16/ChangeLog
+++ b/c/src/exec/score/cpu/or16/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-03 Joel Sherrill <joel@OARcorp.com>
+
+ * rtems/score/cpu.h: Added _CPU_Initialize_vectors().
+
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/or16/rtems/score/cpu.h b/c/src/exec/score/cpu/or16/rtems/score/cpu.h
index a65754ec7c..8258281b19 100644
--- a/c/src/exec/score/cpu/or16/rtems/score/cpu.h
+++ b/c/src/exec/score/cpu/or16/rtems/score/cpu.h
@@ -636,7 +636,19 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT 0
-/* ISR handler macros */
+/*
+ * ISR handler macros
+ */
+
+/*
+ * Support routine to initialize the RTEMS vector table after it is allocated.
+ *
+ * OR16 Specific Information:
+ *
+ * XXX document implementation including references if appropriate
+ */
+
+#define _CPU_Initialize_vectors()
/*
* Disable all interrupts for an RTEMS critical section. The previous
diff --git a/c/src/exec/score/cpu/or32/ChangeLog b/c/src/exec/score/cpu/or32/ChangeLog
index 996964fb1c..0cc40b9933 100644
--- a/c/src/exec/score/cpu/or32/ChangeLog
+++ b/c/src/exec/score/cpu/or32/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-03 Joel Sherrill <joel@OARcorp.com>
+
+ * rtems/score/cpu.h: Added _CPU_Initialize_vectors().
+
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/or32/rtems/score/cpu.h b/c/src/exec/score/cpu/or32/rtems/score/cpu.h
index 04b81e3d04..f6929b7696 100644
--- a/c/src/exec/score/cpu/or32/rtems/score/cpu.h
+++ b/c/src/exec/score/cpu/or32/rtems/score/cpu.h
@@ -636,7 +636,19 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT 0
-/* ISR handler macros */
+/*
+ * ISR handler macros
+ */
+
+/*
+ * Support routine to initialize the RTEMS vector table after it is allocated.
+ *
+ * OR32 Specific Information:
+ *
+ * XXX document implementation including references if appropriate
+ */
+
+#define _CPU_Initialize_vectors()
/*
* Disable all interrupts for an RTEMS critical section. The previous
diff --git a/c/src/exec/score/cpu/sh/ChangeLog b/c/src/exec/score/cpu/sh/ChangeLog
index d3ceec3c9f..2b5c3bfdca 100644
--- a/c/src/exec/score/cpu/sh/ChangeLog
+++ b/c/src/exec/score/cpu/sh/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-03 Joel Sherrill <joel@OARcorp.com>
+
+ * rtems/score/cpu.h: Added _CPU_Initialize_vectors().
+
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/sh/rtems/score/cpu.h b/c/src/exec/score/cpu/sh/rtems/score/cpu.h
index f6c9252912..601276f45e 100644
--- a/c/src/exec/score/cpu/sh/rtems/score/cpu.h
+++ b/c/src/exec/score/cpu/sh/rtems/score/cpu.h
@@ -520,9 +520,19 @@ SCORE_EXTERN void CPU_delay( unsigned32 microseconds );
#define CPU_STACK_ALIGNMENT CPU_ALIGNMENT
-/* ISR handler macros */
+/*
+ * ISR handler macros
+ */
/*
+ * Support routine to initialize the RTEMS vector table after it is allocated.
+ *
+ * SH Specific Information: NONE
+ */
+
+#define _CPU_Initialize_vectors()
+
+/*
* Disable all interrupts for an RTEMS critical section. The previous
* level is returned in _level.
*/
diff --git a/c/src/exec/score/cpu/unix/ChangeLog b/c/src/exec/score/cpu/unix/ChangeLog
index f70d73dbdc..b61fcfcb4e 100644
--- a/c/src/exec/score/cpu/unix/ChangeLog
+++ b/c/src/exec/score/cpu/unix/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-03 Joel Sherrill <joel@OARcorp.com>
+
+ * rtems/score/cpu.h: Added _CPU_Initialize_vectors().
+
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/unix/rtems/score/cpu.h b/c/src/exec/score/cpu/unix/rtems/score/cpu.h
index 7e0cbf7777..0ec126b404 100644
--- a/c/src/exec/score/cpu/unix/rtems/score/cpu.h
+++ b/c/src/exec/score/cpu/unix/rtems/score/cpu.h
@@ -670,7 +670,15 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define CPU_STACK_ALIGNMENT 64
-/* ISR handler macros */
+/*
+ * ISR handler macros
+ */
+
+/*
+ * Support routine to initialize the RTEMS vector table after it is allocated.
+ */
+
+#define _CPU_Initialize_vectors()
/*
* Disable all interrupts for an RTEMS critical section. The previous
diff --git a/c/src/exec/score/src/isr.c b/c/src/exec/score/src/isr.c
index 80c7785860..ac9be65e63 100644
--- a/c/src/exec/score/src/isr.c
+++ b/c/src/exec/score/src/isr.c
@@ -37,6 +37,8 @@ void _ISR_Handler_initialization( void )
sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS
);
+ _CPU_Initialize_vectors();
+
#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
if ( _CPU_Table.interrupt_stack_size < STACK_MINIMUM_SIZE )