From ddf7cedcd6eaa55389ee5dd601ccbed06f719365 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 30 Sep 2008 15:12:38 +0000 Subject: 2008-09-30 Joel Sherrill * shgdb/score/ispshgdb.c: Add dummy _CPU_ISR_install_vector. --- c/src/lib/libcpu/sh/ChangeLog | 4 ++++ c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c | 24 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+) (limited to 'c/src/lib') diff --git a/c/src/lib/libcpu/sh/ChangeLog b/c/src/lib/libcpu/sh/ChangeLog index e136f7c909..30a8a2bd77 100644 --- a/c/src/lib/libcpu/sh/ChangeLog +++ b/c/src/lib/libcpu/sh/ChangeLog @@ -1,3 +1,7 @@ +2008-09-30 Joel Sherrill + + * shgdb/score/ispshgdb.c: Add dummy _CPU_ISR_install_vector. + 2008-09-25 Joel Sherrill * Makefile.am, configure.ac, sh7032/score/cpu_asm.c, diff --git a/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c b/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c index 3e6e06f600..674efadd3c 100644 --- a/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c +++ b/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c @@ -32,6 +32,30 @@ #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