summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sh/include/rtems/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-08 15:31:03 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-12 13:25:44 +0100
commit510fbfc314a5eb50ce68bb7c2df2b3056e479e99 (patch)
tree8d16e11a994d905d7665d001240a84fd413f8a21 /cpukit/score/cpu/sh/include/rtems/score
parentpowerpc: Remove use of proc_ptr (diff)
downloadrtems-510fbfc314a5eb50ce68bb7c2df2b3056e479e99.tar.bz2
sh: Remove use of proc_ptr
Update #3585.
Diffstat (limited to 'cpukit/score/cpu/sh/include/rtems/score')
-rw-r--r--cpukit/score/cpu/sh/include/rtems/score/cpu.h27
1 files changed, 10 insertions, 17 deletions
diff --git a/cpukit/score/cpu/sh/include/rtems/score/cpu.h b/cpukit/score/cpu/sh/include/rtems/score/cpu.h
index 61d8e56448..0d633b0c68 100644
--- a/cpukit/score/cpu/sh/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sh/include/rtems/score/cpu.h
@@ -546,29 +546,22 @@ void _CPU_Context_Initialize(
*/
void _CPU_Initialize(void);
-/*
- * _CPU_ISR_install_raw_handler
- *
- * This routine installs a "raw" interrupt handler directly into the
- * processor's vector table.
- */
+typedef void ( *CPU_ISR_raw_handler )( void );
+
+extern CPU_ISR_raw_handler _Hardware_isr_Table[];
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(
- 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 );