From 3ad7c5d2f53f69f09b5dbd475d565be3826dc159 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 19 Dec 2000 16:44:59 +0000 Subject: 2000-12-19 Joel Sherrill * cpu.c (_CPU_Initialize): Do not initialize _ISR_Vector_table() here because it has not been allocated yet. --- c/src/exec/score/cpu/mips/ChangeLog | 5 +++++ c/src/exec/score/cpu/mips/cpu.c | 11 ----------- 2 files changed, 5 insertions(+), 11 deletions(-) (limited to 'c') 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 + + * cpu.c (_CPU_Initialize): Do not initialize _ISR_Vector_table() here + because it has not been allocated yet. + 2000-12-13 Joel Sherrill * 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 -- cgit v1.2.3