diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2007-12-09 00:00:08 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2007-12-09 00:00:08 +0000 |
commit | f73c6285c17cb37f933721f0b07354f384ec6930 (patch) | |
tree | 0c2787a837e58077d0ddafea57af9901a02b2f24 /c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/irq.c | |
parent | 2007-12-08 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-f73c6285c17cb37f933721f0b07354f384ec6930.tar.bz2 |
2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c,
new-exceptions/bspsupport/ppc_exc_bspsupp.h,
new-exceptions/bspsupport/ppc_exc_hdl.c:
fixed some mismatching signed/unsigned types.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/irq.c')
-rw-r--r-- | c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/irq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/irq.c b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/irq.c index 01d96a2a3b..154e55a82b 100644 --- a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/irq.c +++ b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/irq.c @@ -19,6 +19,7 @@ #include <libcpu/raw_exception.h> #include <libcpu/cpuIdent.h> #include "vectors.h" +#include "ppc_exc_bspsupp.h" #include <stdlib.h> #include <rtems/bspIo.h> /* for printk */ #include <libcpu/spr.h> @@ -46,14 +47,14 @@ SPR_RW(BOOKE_TSR) * However, the legacy mode works with less modifications * of user code. */ -void C_dispatch_dec_handler_bookE (BSP_Exception_frame *frame, unsigned int excNum) +int C_dispatch_dec_handler_bookE (BSP_Exception_frame *frame, unsigned int excNum) { /* clear interrupt; we must do this * before C_dispatch_irq_handler() * re-enables MSR_EE. */ _write_BOOKE_TSR( BOOKE_TSR_DIS ); - C_dispatch_irq_handler(frame, ASM_DEC_VECTOR); + return C_dispatch_irq_handler(frame, ASM_DEC_VECTOR); } /* |