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

PR 483/bsps
	* startup/bspstart.c, startup/start_c.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:33 +00:00
parent 1fa7d9b351
commit ce68e16471
3 changed files with 22 additions and 2 deletions

View File

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

View File

@@ -38,7 +38,18 @@ char *rtems_progname;
void bsp_postdriver_hook(void);
void bsp_libc_init( void *, unsigned32, int );
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
*
@@ -59,6 +70,7 @@ void bsp_start( void )
*/
Cpu_table.pretasking_hook = bsp_pretasking_hook;
Cpu_table.predriver_hook = bsp_predriver_hook;
Cpu_table.postdriver_hook = bsp_postdriver_hook;
m68k_get_vbr( vbr );

View File

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