summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-02-15 16:33:27 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-02-15 16:33:27 +0000
commit5bd1219753720a3f1552d9a5e09e2c339a4a26e0 (patch)
treed1f91d326e4ba734eee67aff9961c8f0aba7a9a0 /c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
parent(_CPU_ISR_install_vector, _CPU_Initialize, _CPU_Install_interrupt_stack, _CPU... (diff)
downloadrtems-5bd1219753720a3f1552d9a5e09e2c339a4a26e0.tar.bz2
2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>
* new-exceptions/cpu.c (_CPU_ISR_install_vector): New.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/new-exceptions/cpu.c')
-rw-r--r--c/src/lib/libcpu/powerpc/new-exceptions/cpu.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c b/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
index dbbf8a55c7..f8f1223f61 100644
--- a/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
+++ b/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
@@ -148,3 +148,25 @@ void _CPU_Context_Initialize(
void _CPU_Install_interrupt_stack( void )
{
}
+
+/* _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
+)
+{
+ BSP_panic("_CPU_ISR_install_vector called\n");
+}