summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-30 15:12:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-30 15:12:38 +0000
commitddf7cedcd6eaa55389ee5dd601ccbed06f719365 (patch)
tree56926bb83d462d676ba45884f2323799ff0758b5 /c/src/lib/libcpu
parent2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-ddf7cedcd6eaa55389ee5dd601ccbed06f719365.tar.bz2
2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* shgdb/score/ispshgdb.c: Add dummy _CPU_ISR_install_vector.
Diffstat (limited to 'c/src/lib/libcpu')
-rw-r--r--c/src/lib/libcpu/sh/ChangeLog4
-rw-r--r--c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c24
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
*