diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-08 15:14:32 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-12 13:25:43 +0100 |
commit | 3c6a6e80ecc92f0c5bd1dacfd3b833d7b7240f0b (patch) | |
tree | 3a8e1289ca22d806e52f2be8af306a897ddd4cb9 /cpukit/score/cpu/i386/include/rtems/score/cpu.h | |
parent | a043ff859d9f22dafea5c166acb26668b09df259 (diff) |
i386: Remove use of proc_ptr
Update #3585.
Diffstat (limited to 'cpukit/score/cpu/i386/include/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/i386/include/rtems/score/cpu.h | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/cpukit/score/cpu/i386/include/rtems/score/cpu.h b/cpukit/score/cpu/i386/include/rtems/score/cpu.h index d38af9475f..10614a72ee 100644 --- a/cpukit/score/cpu/i386/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/i386/include/rtems/score/cpu.h @@ -539,29 +539,12 @@ extern void _CPU_Fatal_halt(uint32_t source, uint32_t error) void _CPU_Initialize(void); -/* - * _CPU_ISR_install_raw_handler - * - * This routine installs a "raw" interrupt handler directly into the - * processor's vector table. - */ - -void _CPU_ISR_install_raw_handler( - uint32_t vector, - proc_ptr new_handler, - proc_ptr *old_handler -); - -/* - * _CPU_ISR_install_vector - * - * This routine installs an interrupt vector. - */ +typedef void ( *CPU_ISR_handler )( void ); 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 ); |