From bb2a4877248c28f694ef363ca260f91cc4354184 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 15 Feb 2005 16:31:07 +0000 Subject: (_CPU_ISR_install_vector, _CPU_Initialize, _CPU_Install_interrupt_stack, _CPU_Context_switch, _CPU_Context_restore, _CPU_Context_save_fp, _CPU_Context_restore_fp, _CPU_Fatal_error): Remove. --- .../score/cpu/powerpc/rtems/new-exceptions/cpu.h | 73 ------------------ .../score/cpu/powerpc/rtems/old-exceptions/cpu.h | 88 ---------------------- 2 files changed, 161 deletions(-) (limited to 'cpukit/score') diff --git a/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h b/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h index ea6e19b44a..c5ccc37036 100644 --- a/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h @@ -620,8 +620,6 @@ static inline void _CPU_ISR_Set_level( uint32_t level ) } void BSP_panic(char *); -#define _CPU_ISR_install_vector(irq, new, old) \ - {BSP_panic("_CPU_ISR_install_vector called\n");} /* Fatal Error manager macros */ @@ -728,13 +726,7 @@ void _BSP_Fatal_error(unsigned int); extern const uint32_t _CPU_msrs[4]; -/* functions */ - /* - * _CPU_Initialize - * - * This routine performs CPU dependent initialization. - * * Until all new-exception processing BSPs have fixed * PR288, we let the good BSPs pass * @@ -745,71 +737,6 @@ extern const uint32_t _CPU_msrs[4]; #define PPC_BSP_HAS_FIXED_PR288 0x600dbabe -void _CPU_Initialize( - rtems_cpu_table *cpu_table, - void (*thread_dispatch) -); - - -/* - * _CPU_Install_interrupt_stack - * - * This routine installs the hardware interrupt stack pointer. - * - * NOTE: It need only be provided if CPU_HAS_HARDWARE_INTERRUPT_STACK - * is TRUE. - */ - -void _CPU_Install_interrupt_stack( void ); - -/* - * _CPU_Context_switch - * - * This routine switches from the run context to the heir context. - */ - -void _CPU_Context_switch( - Context_Control *run, - Context_Control *heir -); - -/* - * _CPU_Context_restore - * - * This routine is generallu used only to restart self in an - * efficient manner. It may simply be a label in _CPU_Context_switch. - * - * NOTE: May be unnecessary to reload some registers. - */ - -void _CPU_Context_restore( - Context_Control *new_context -); - -/* - * _CPU_Context_save_fp - * - * This routine saves the floating point context passed to it. - */ - -void _CPU_Context_save_fp( - void **fp_context_ptr -); - -/* - * _CPU_Context_restore_fp - * - * This routine restores the floating point context passed to it. - */ - -void _CPU_Context_restore_fp( - void **fp_context_ptr -); - -void _CPU_Fatal_error( - uint32_t _error -); - #endif /* ASM */ #ifdef __cplusplus diff --git a/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h b/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h index 2c358b7ad4..db436a2f57 100644 --- a/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h @@ -900,94 +900,6 @@ void _CPU_ISR_install_raw_handler( extern const uint32_t _CPU_msrs[4]; #endif -/* functions */ - -#ifndef ASM - -/* - * _CPU_Initialize - * - * This routine performs CPU dependent initialization. - */ - -void _CPU_Initialize( - rtems_cpu_table *cpu_table, - void (*thread_dispatch) -); - -/* - * _CPU_ISR_install_vector - * - * This routine installs an interrupt vector. - */ - -void _CPU_ISR_install_vector( - uint32_t vector, - proc_ptr new_handler, - proc_ptr *old_handler -); - -/* - * _CPU_Install_interrupt_stack - * - * This routine installs the hardware interrupt stack pointer. - * - * NOTE: It need only be provided if CPU_HAS_HARDWARE_INTERRUPT_STACK - * is TRUE. - */ - -void _CPU_Install_interrupt_stack( void ); - -/* - * _CPU_Context_switch - * - * This routine switches from the run context to the heir context. - */ - -void _CPU_Context_switch( - Context_Control *run, - Context_Control *heir -); - -/* - * _CPU_Context_restore - * - * This routine is generallu used only to restart self in an - * efficient manner. It may simply be a label in _CPU_Context_switch. - * - * NOTE: May be unnecessary to reload some registers. - */ - -void _CPU_Context_restore( - Context_Control *new_context -); - -/* - * _CPU_Context_save_fp - * - * This routine saves the floating point context passed to it. - */ - -void _CPU_Context_save_fp( - void **fp_context_ptr -); - -/* - * _CPU_Context_restore_fp - * - * This routine restores the floating point context passed to it. - */ - -void _CPU_Context_restore_fp( - void **fp_context_ptr -); - -void _CPU_Fatal_error( - uint32_t _error -); - -#endif /* ASM */ - #ifdef __cplusplus } #endif -- cgit v1.2.3