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.
This commit is contained in:
Joel Sherrill
2000-12-19 16:44:59 +00:00
parent c5333725bc
commit 3ad7c5d2f5
4 changed files with 10 additions and 22 deletions

View File

@@ -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> 2000-12-13 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Removed duplicate declaration for _ISR_Vector_table. * cpu.c: Removed duplicate declaration for _ISR_Vector_table.

View File

@@ -52,22 +52,11 @@
*/ */
void null_handler( void )
{
}
void _CPU_Initialize( void _CPU_Initialize(
rtems_cpu_table *cpu_table, rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */ 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 * 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 * for the routine called at the end of an ISR once it has been

View File

@@ -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> 2000-12-13 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Removed duplicate declaration for _ISR_Vector_table. * cpu.c: Removed duplicate declaration for _ISR_Vector_table.

View File

@@ -52,22 +52,11 @@
*/ */
void null_handler( void )
{
}
void _CPU_Initialize( void _CPU_Initialize(
rtems_cpu_table *cpu_table, rtems_cpu_table *cpu_table,
void (*thread_dispatch) /* ignored on this CPU */ 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 * 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 * for the routine called at the end of an ISR once it has been