2003-09-15 Joel Sherrill <joel@OARcorp.com>

PR 483/bsps
	* start/start.c, startup/bspstart.c: Spurious interrupt handlers cannot
	be installed until RTEMS has initialized the vector table.
This commit is contained in:
Joel Sherrill
2003-09-15 13:26:11 +00:00
parent d36b31523d
commit 1c490ab036
6 changed files with 40 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2003-09-15 Joel Sherrill <joel@OARcorp.com>
PR 483/bsps
* start/start.c, startup/bspstart.c: Spurious interrupt handlers cannot
be installed until RTEMS has initialized the vector table.
2003-09-04 Joel Sherrill <joel@OARcorp.com> 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c, console/console.c, include/bsp.h, misc/interr.c, * clock/ckinit.c, console/console.c, include/bsp.h, misc/interr.c,

View File

@@ -214,7 +214,8 @@ void dumby_start() {
/* /*
* Initalize the board. * Initalize the board.
*/ */
Spurious_Initialize(); /* Spurious should be called in the predriver hook */
/* Spurious_Initialize(); */
console_init(); console_init();
/* /*

View File

@@ -40,6 +40,17 @@ void bsp_postdriver_hook(void);
void bsp_libc_init( void *, unsigned32, int ); void bsp_libc_init( void *, unsigned32, int );
void bsp_pretasking_hook(void); /* m68k version */ void bsp_pretasking_hook(void); /* m68k version */
/*
* Call Spurious_Initialize in bsp_predriver_hook because
* bsp_predriver_hook is call after the _ISR_Vector_Table allocation
*/
void bsp_predriver_hook(void)
{
void Spurious_Initialize();
Spurious_Initialize();
}
/* /*
* bsp_start * bsp_start
* *
@@ -60,6 +71,7 @@ void bsp_start( void )
*/ */
Cpu_table.pretasking_hook = bsp_pretasking_hook; Cpu_table.pretasking_hook = bsp_pretasking_hook;
Cpu_table.predriver_hook = bsp_predriver_hook;
Cpu_table.postdriver_hook = bsp_postdriver_hook; Cpu_table.postdriver_hook = bsp_postdriver_hook;
m68k_get_vbr( vbr ); m68k_get_vbr( vbr );

View File

@@ -1,3 +1,9 @@
2003-09-15 Joel Sherrill <joel@OARcorp.com>
PR 483/bsps
* start/start.c, startup/bspstart.c: Spurious interrupt handlers cannot
be installed until RTEMS has initialized the vector table.
2003-09-04 Joel Sherrill <joel@OARcorp.com> 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c, console/console.c, include/16550.h, * clock/ckinit.c, console/console.c, include/16550.h,

View File

@@ -56,7 +56,8 @@ void boot_card();
/* /*
* Initalize the board. * Initalize the board.
*/ */
Spurious_Initialize(); /* Spurious should be called in the predriver hook */
/* Spurious_Initialize(); */
console_init(); console_init();
watch_dog_init(); watch_dog_init();
bsp_tcp_init(); bsp_tcp_init();

View File

@@ -45,6 +45,17 @@ void bsp_postdriver_hook(void);
void bsp_libc_init( void *, unsigned32, int ); void bsp_libc_init( void *, unsigned32, int );
void bsp_pretasking_hook(void); /* m68k version */ void bsp_pretasking_hook(void); /* m68k version */
/*
* Call Spurious_Initialize in bsp_predriver_hook because
* bsp_predriver_hook is call after the _ISR_Vector_Table allocation
*/
void bsp_predriver_hook(void)
{
void Spurious_Initialize();
Spurious_Initialize();
}
/* /*
* bsp_start * bsp_start
* *
@@ -68,6 +79,7 @@ void bsp_start( void )
*/ */
Cpu_table.pretasking_hook = bsp_pretasking_hook; Cpu_table.pretasking_hook = bsp_pretasking_hook;
Cpu_table.predriver_hook = bsp_predriver_hook;
Cpu_table.postdriver_hook = bsp_postdriver_hook; Cpu_table.postdriver_hook = bsp_postdriver_hook;
m68k_get_vbr( vbr ); m68k_get_vbr( vbr );