forked from Imagelibrary/rtems
2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* sh7750/score/ispsh7750.c, shgdb/score/ispshgdb.c: Fine tune conditional so _CPU_ISR_install_vector is in CPU Kit now.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* sh7750/score/ispsh7750.c, shgdb/score/ispshgdb.c: Fine tune
|
||||
conditional so _CPU_ISR_install_vector is in CPU Kit now.
|
||||
|
||||
2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* shgdb/score/ispshgdb.c: Add dummy _CPU_ISR_install_vector.
|
||||
|
||||
@@ -56,32 +56,6 @@
|
||||
* agent */
|
||||
void *_VBR_Saved;
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
* _CPU_ISR_install_vector
|
||||
*
|
||||
* This kernel routine installs the RTEMS handler for the
|
||||
* specified vector.
|
||||
*
|
||||
* Input parameters:
|
||||
* vector - interrupt vector number
|
||||
* old_handler - former ISR for this vector number
|
||||
* new_handler - replacement ISR for this vector number
|
||||
*
|
||||
* Output parameters: NONE
|
||||
*
|
||||
*/
|
||||
void _CPU_ISR_install_vector(
|
||||
uint32_t vector,
|
||||
proc_ptr new_handler,
|
||||
proc_ptr *old_handler
|
||||
)
|
||||
{
|
||||
*old_handler = _ISR_Vector_table[vector];
|
||||
_ISR_Vector_table[vector] = new_handler;
|
||||
}
|
||||
|
||||
|
||||
#define __STRINGIFY1__(x) #x
|
||||
#define __STRINGIFY__(x) __STRINGIFY1__(x)
|
||||
|
||||
|
||||
@@ -32,30 +32,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/types.h>
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
* _CPU_ISR_install_vector
|
||||
*
|
||||
* This kernel routine installs the RTEMS handler for the
|
||||
* specified vector.
|
||||
*
|
||||
* Input parameters:
|
||||
* vector - interrupt vector number
|
||||
* old_handler - former ISR for this vector number
|
||||
* new_handler - replacement ISR for this vector number
|
||||
*
|
||||
* Output parameters: NONE
|
||||
*
|
||||
*/
|
||||
void _CPU_ISR_install_vector(
|
||||
uint32_t vector,
|
||||
proc_ptr new_handler,
|
||||
proc_ptr *old_handler
|
||||
)
|
||||
{
|
||||
/* Nothing to do on gdb simulator */
|
||||
}
|
||||
|
||||
/*
|
||||
* This is a exception vector table
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user