2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>

* rtems/new-exceptions/cpu.h, rtems/score/cpu.h: Eliminate
	_CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch
	to _CPU_Initialize. Clean up comments.
This commit is contained in:
Joel Sherrill
2009-02-11 21:44:59 +00:00
parent e8cba4cce9
commit ef1be69b65
3 changed files with 7 additions and 15 deletions
+6
View File
@@ -1,3 +1,9 @@
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/new-exceptions/cpu.h, rtems/score/cpu.h: Eliminate
_CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch
to _CPU_Initialize. Clean up comments.
2008-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Move extern of bsp_clicks_per_usec so it is not
@@ -189,18 +189,6 @@ SCORE_EXTERN void *_CPU_Interrupt_stack_high;
#define CPU_MODES_INTERRUPT_LEVEL 0x00000001 /* interrupt level in mode */
#define CPU_MODES_INTERRUPT_MASK 0x00000001 /* interrupt level in mode */
/*
* 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 _Thread_Dispatch. This
* can make it easier to invoke that routine at the end of the interrupt
* sequence (if a dispatch is necessary).
*/
/* EXTERN void (*_CPU_Thread_dispatch_pointer)(); */
/*
* Nothing prevents the porter from declaring more CPU specific variables.
*/
+1 -3
View File
@@ -683,9 +683,7 @@ void _CPU_Context_Initialize(
* This routine performs CPU dependent initialization.
*/
void _CPU_Initialize(
void (*thread_dispatch)
);
void _CPU_Initialize(void);
/*
* _CPU_ISR_install_vector