summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sh/include/rtems/score/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/sh/include/rtems/score/cpu.h')
-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 );