diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/unix/cpu.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/cpukit/score/cpu/unix/cpu.c b/cpukit/score/cpu/unix/cpu.c index e92e04b0e7..b56fadcc5e 100644 --- a/cpukit/score/cpu/unix/cpu.c +++ b/cpukit/score/cpu/unix/cpu.c @@ -276,14 +276,10 @@ uint32_t _CPU_ISR_Get_level( void ) * * This routine performs processor dependent initialization. * - * INPUT PARAMETERS: - * thread_dispatch - address of dispatching routine + * INPUT PARAMETERS: NONE */ - -void _CPU_Initialize( - void (*thread_dispatch) /* ignored on this CPU */ -) +void _CPU_Initialize(void) { /* * If something happened where the public Context_Control is not @@ -295,19 +291,6 @@ void _CPU_Initialize( _CPU_Fatal_error(0x100 + 1); /* - * The thread_dispatch argument is the address of the entry point - * for the routine called at the end of an ISR once it has been - * decided a context switch is necessary. On some compilation - * systems it is difficult to call a high-level language routine - * from assembly. This allows us to trick these systems. - * - * If you encounter this problem save the entry point in a CPU - * dependent variable. - */ - - _CPU_Thread_dispatch_pointer = thread_dispatch; - - /* * XXX; If there is not an easy way to initialize the FP context * during Context_Initialize, then it is usually easier to * save an "uninitialized" FP context here and copy it to |