diff options
-rw-r--r-- | c/src/lib/libcpu/sh/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c | 24 |
2 files changed, 28 insertions, 0 deletions
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 <joel.sherrill@oarcorp.com> + + * shgdb/score/ispshgdb.c: Add dummy _CPU_ISR_install_vector. + 2008-09-25 Joel Sherrill <joel.sherrill@oarcorp.com> * 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 <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 * |