diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-08 15:47:42 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-12 13:25:43 +0100 |
commit | 0e16fa45cd0eec8ca9d1404b8c1a40401a96e7ec (patch) | |
tree | 8d5d6bf2570d4756efe72d56296d937ab38dfba6 /cpukit/score/cpu/lm32/include/rtems/score/cpu.h | |
parent | i386: Remove use of proc_ptr (diff) | |
download | rtems-0e16fa45cd0eec8ca9d1404b8c1a40401a96e7ec.tar.bz2 |
lm32: Remove use of proc_ptr
Update #3585.
Diffstat (limited to 'cpukit/score/cpu/lm32/include/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/lm32/include/rtems/score/cpu.h | 46 |
1 files changed, 15 insertions, 31 deletions
diff --git a/cpukit/score/cpu/lm32/include/rtems/score/cpu.h b/cpukit/score/cpu/lm32/include/rtems/score/cpu.h index 80374a6a83..64983839b2 100644 --- a/cpukit/score/cpu/lm32/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/lm32/include/rtems/score/cpu.h @@ -690,39 +690,23 @@ void _CPU_Initialize(void); */ /**@{**/ -/** - * This routine installs a "raw" interrupt handler directly into the - * processor's vector table. - * - * @param[in] vector is the vector number - * @param[in] new_handler is the raw ISR handler to install - * @param[in] old_handler is the previously installed ISR Handler - * - * Port Specific Information: - * - * XXX document implementation including references if appropriate - */ -void _CPU_ISR_install_raw_handler( - uint32_t vector, - proc_ptr new_handler, - proc_ptr *old_handler -); +typedef void ( *CPU_ISR_raw_handler )( void ); + +RTEMS_INLINE_ROUTINE void _CPU_ISR_install_raw_handler( + uint32_t vector, + CPU_ISR_raw_handler new_handler, + CPU_ISR_raw_handler *old_handler +) +{ + /* TODO */ +} + +typedef void ( *CPU_ISR_handler )( uint32_t ); -/** - * This routine installs an interrupt vector. - * - * @param[in] vector is the vector number - * @param[in] new_handler is the RTEMS ISR handler to install - * @param[in] old_handler is the previously installed ISR Handler - * - * Port Specific Information: - * - * XXX document implementation including references if appropriate - */ void _CPU_ISR_install_vector( - uint32_t vector, - proc_ptr new_handler, - proc_ptr *old_handler + uint32_t vector, + CPU_ISR_handler new_handler, + CPU_ISR_handler *old_handler ); /** @} */ |