mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
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:
@@ -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,
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -111,7 +111,9 @@ void start_c() {
|
||||
/*
|
||||
* Initalize the board.
|
||||
*/
|
||||
Spurious_Initialize();
|
||||
|
||||
/* Spurious should be called in the predriver hook */
|
||||
/* Spurious_Initialize(); */
|
||||
//console_init();
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user