diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-12-19 16:44:59 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-12-19 16:44:59 +0000 |
commit | 3ad7c5d2f53f69f09b5dbd475d565be3826dc159 (patch) | |
tree | 4a813da8d8a434501daae005f0c7215824ce8eb4 | |
parent | 2000-12-19 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-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.
-rw-r--r-- | c/src/exec/score/cpu/mips/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/exec/score/cpu/mips/cpu.c | 11 | ||||
-rw-r--r-- | cpukit/score/cpu/mips/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/mips/cpu.c | 11 |
4 files changed, 10 insertions, 22 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 diff --git a/cpukit/score/cpu/mips/ChangeLog b/cpukit/score/cpu/mips/ChangeLog index d424e360c9..8def49d0ce 100644 --- a/cpukit/score/cpu/mips/ChangeLog +++ b/cpukit/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/cpukit/score/cpu/mips/cpu.c b/cpukit/score/cpu/mips/cpu.c index ae5bf9f9ae..42d9807cc0 100644 --- a/cpukit/score/cpu/mips/cpu.c +++ b/cpukit/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 |