diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-09 07:59:57 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-12 13:25:42 +0100 |
commit | 8203db45d525b782a258e2ba866283832fdf182a (patch) | |
tree | dea417587ad9324fd9ce12a227360fd27e154f6d /cpukit/score/cpu/bfin/include/rtems/score/cpu.h | |
parent | arm: Remove use of proc_ptr (diff) | |
download | rtems-8203db45d525b782a258e2ba866283832fdf182a.tar.bz2 |
bfin: Remove use of proc_ptr
Update #3585.
Diffstat (limited to 'cpukit/score/cpu/bfin/include/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/bfin/include/rtems/score/cpu.h | 41 |
1 files changed, 10 insertions, 31 deletions
diff --git a/cpukit/score/cpu/bfin/include/rtems/score/cpu.h b/cpukit/score/cpu/bfin/include/rtems/score/cpu.h index 329a1b6762..481762d7b8 100644 --- a/cpukit/score/cpu/bfin/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/bfin/include/rtems/score/cpu.h @@ -656,41 +656,20 @@ void _CPU_Context_Initialize( */ void _CPU_Initialize(void); -/** - * @ingroup CPUInterrupt - * 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 - */ +typedef void ( *CPU_ISR_raw_handler )( void ); + void _CPU_ISR_install_raw_handler( - uint32_t vector, - proc_ptr new_handler, - proc_ptr *old_handler + uint32_t vector, + CPU_ISR_raw_handler new_handler, + CPU_ISR_raw_handler *old_handler ); -/** - * @ingroup CPUInterrupt - * 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 - */ +typedef void ( *CPU_ISR_handler )( uint32_t ); + 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 ); void *_CPU_Thread_Idle_body( uintptr_t ignored ); |