From c03e2bc8c7b6c2133db6a661d785409d4756149a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 11 Feb 2009 21:45:05 +0000 Subject: 2009-02-11 Joel Sherrill * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch to _CPU_Initialize. Clean up comments. --- cpukit/score/cpu/lm32/rtems/score/cpu.h | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'cpukit/score/cpu/lm32/rtems/score/cpu.h') diff --git a/cpukit/score/cpu/lm32/rtems/score/cpu.h b/cpukit/score/cpu/lm32/rtems/score/cpu.h index ac2129bd2d..d5522ff2d5 100644 --- a/cpukit/score/cpu/lm32/rtems/score/cpu.h +++ b/cpukit/score/cpu/lm32/rtems/score/cpu.h @@ -572,24 +572,6 @@ SCORE_EXTERN void *_CPU_Interrupt_stack_low; */ SCORE_EXTERN void *_CPU_Interrupt_stack_high; -/** - * @ingroup CPUInterrupt - * With some compilation systems, it is difficult if not impossible to - * call a high-level language routine from assembly language. This - * is especially true of commercial Ada compilers and name mangling - * C++ ones. This variable can be optionally defined by the CPU porter - * and contains the address of the routine @ref _Thread_Dispatch. This - * can make it easier to invoke that routine at the end of the interrupt - * sequence (if a dispatch is necessary). - * - * Port Specific Information: - * - * XXX document implementation including references if appropriate - */ -#if 0 -SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)(); -#endif - /* * Nothing prevents the porter from declaring more CPU specific variables. * @@ -1100,15 +1082,11 @@ uint32_t _CPU_ISR_Get_level( void ); /** * This routine performs CPU dependent initialization. * - * @param[in] thread_dispatch is the address of @ref _Thread_Dispatch - * * Port Specific Information: * * XXX document implementation including references if appropriate */ -void _CPU_Initialize( - void (*thread_dispatch) -); +void _CPU_Initialize(void); /** * @ingroup CPUInterrupt -- cgit v1.2.3