summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-19 16:44:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-19 16:44:59 +0000
commit3ad7c5d2f53f69f09b5dbd475d565be3826dc159 (patch)
tree4a813da8d8a434501daae005f0c7215824ce8eb4 /c/src/exec/score/cpu
parent2000-12-19 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-3ad7c5d2f53f69f09b5dbd475d565be3826dc159.tar.bz2
2000-12-19 Joel Sherrill <joel@OARcorp.com>
* cpu.c (_CPU_Initialize): Do not initialize _ISR_Vector_table() here because it has not been allocated yet.
Diffstat (limited to 'c/src/exec/score/cpu')
-rw-r--r--c/src/exec/score/cpu/mips/ChangeLog5
-rw-r--r--c/src/exec/score/cpu/mips/cpu.c11
2 files changed, 5 insertions, 11 deletions
diff --git a/c/src/exec/score/cpu/mips/ChangeLog b/c/src/exec/score/cpu/mips/ChangeLog
index d424e360c9..8def49d0ce 100644
--- a/c/src/exec/score/cpu/mips/ChangeLog
+++ b/c/src/exec/score/cpu/mips/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-19 Joel Sherrill <joel@OARcorp.com>
+
+ * cpu.c (_CPU_Initialize): Do not initialize _ISR_Vector_table() here
+ because it has not been allocated yet.
+
2000-12-13 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Removed duplicate declaration for _ISR_Vector_table.
diff --git a/c/src/exec/score/cpu/mips/cpu.c b/c/src/exec/score/cpu/mips/cpu.c
index ae5bf9f9ae..42d9807cc0 100644
--- a/c/src/exec/score/cpu/mips/cpu.c
+++ b/c/src/exec/score/cpu/mips/cpu.c
@@ -52,22 +52,11 @@
*/
-void null_handler( void )
-{
-}
-
-
void _CPU_Initialize(
rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */
)
{
- unsigned int i = ISR_NUMBER_OF_VECTORS;
-
- while ( i-- ) {
- _ISR_Vector_table[i] = (ISR_Handler_entry)null_handler;
- }
-
/*
* The thread_dispatch argument is the address of the entry point
* for the routine called at the end of an ISR once it has been