diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-09 08:12:49 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-12 13:25:44 +0100 |
commit | 70928bc98bc40e82394e714013ffdac29732ad2e (patch) | |
tree | f50c0bcecd8cbcc316fb17b9950d814a11f76980 /cpukit/score/cpu/sparc64/include/rtems/score/cpu.h | |
parent | sparc: Remove use of proc_ptr (diff) | |
download | rtems-70928bc98bc40e82394e714013ffdac29732ad2e.tar.bz2 |
sparc64: Remove use of proc_ptr
Update #3585.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/sparc64/include/rtems/score/cpu.h | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h index c25226a975..84cb5865bd 100644 --- a/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h @@ -839,29 +839,20 @@ void _CPU_Context_Initialize( void _CPU_Initialize(void); -/* - * _CPU_ISR_install_raw_handler - * - * This routine installs new_handler to be directly called from the trap - * table. - */ +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 ); -/* - * _CPU_ISR_install_vector - * - * This routine installs an interrupt vector. - */ +typedef void ( *CPU_ISR_handler )( uint32_t ); void _CPU_ISR_install_vector( - uint64_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 ); |