From 5bd1219753720a3f1552d9a5e09e2c339a4a26e0 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 15 Feb 2005 16:33:27 +0000 Subject: [PATCH] 2005-02-15 Ralf Corsepius * new-exceptions/cpu.c (_CPU_ISR_install_vector): New. --- c/src/lib/libcpu/powerpc/ChangeLog | 15 +++++++------ c/src/lib/libcpu/powerpc/new-exceptions/cpu.c | 22 +++++++++++++++++++ 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/c/src/lib/libcpu/powerpc/ChangeLog b/c/src/lib/libcpu/powerpc/ChangeLog index 9cc341123c..14ba64daa2 100644 --- a/c/src/lib/libcpu/powerpc/ChangeLog +++ b/c/src/lib/libcpu/powerpc/ChangeLog @@ -1,3 +1,7 @@ +2005-02-15 Ralf Corsepius + + * new-exceptions/cpu.c (_CPU_ISR_install_vector): New. + 2005-02-15 Ralf Corsepius * old-exceptions/rtems/score/ppc_offs.h, @@ -141,13 +145,10 @@ 2004-10-20 Eric Norum - Add Kate Feng's MPC7455 support - * configure.ac - * mpc6xx/exceptions/raw_exception.c - * mpc6xx/mmu/mmuAsm.S - * mpc6xx/mmu/pte121.c - * shared/include/cpuIdent.c - * shared/include/cpuIdent.h + * configure.ac, mpc6xx/exceptions/raw_exception.c, + mpc6xx/mmu/mmuAsm.S, mpc6xx/mmu/pte121.c, + shared/include/cpuIdent.c, shared/include/cpuIdent.h: + Add Kate Feng's MPC7455 support. 2004-10-19 Ralf Corsepius 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"); +}