From 7f4545ded0cc381983572ef568fc45d91cdc4ee9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 30 Sep 2008 16:23:46 +0000 Subject: 2008-09-30 Joel Sherrill * sh7750/score/ispsh7750.c, shgdb/score/ispshgdb.c: Fine tune conditional so _CPU_ISR_install_vector is in CPU Kit now. --- c/src/lib/libcpu/sh/ChangeLog | 5 +++++ c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c | 26 -------------------------- c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c | 24 ------------------------ 3 files changed, 5 insertions(+), 50 deletions(-) (limited to 'c/src/lib/libcpu/sh') 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,3 +1,8 @@ +2008-09-30 Joel Sherrill + + * 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 * shgdb/score/ispshgdb.c: Add dummy _CPU_ISR_install_vector. 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 #include -/*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 * -- cgit v1.2.3