diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-30 16:23:46 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-30 16:23:46 +0000 |
commit | 7f4545ded0cc381983572ef568fc45d91cdc4ee9 (patch) | |
tree | d7eea1bc91f441f1308f8883276204059487dde1 | |
parent | 2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-7f4545ded0cc381983572ef568fc45d91cdc4ee9.tar.bz2 |
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.
-rw-r--r-- | c/src/lib/libcpu/sh/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c | 26 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c | 24 |
3 files changed, 5 insertions, 50 deletions
diff --git a/c/src/lib/libcpu/sh/ChangeLog b/c/src/lib/libcpu/sh/ChangeLog index 30a8a2bd77..eeb71a3f65 100644 --- a/c/src/lib/libcpu/sh/ChangeLog +++ b/c/src/lib/libcpu/sh/ChangeLog @@ -1,5 +1,10 @@ 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. 2008-09-25 Joel Sherrill <joel.sherrill@oarcorp.com> diff --git a/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c b/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c index e793483a5e..3da229ef4d 100644 --- a/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c +++ b/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c @@ -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) diff --git a/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c b/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c index 674efadd3c..3e6e06f600 100644 --- a/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c +++ b/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c @@ -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 * |