From 75f09e52dea753e8ff655fcd16088135cd894136 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 21 Feb 1996 14:43:34 +0000 Subject: Dispersal of internal thread handler resulted in IDLE thread becoming part of the Thread Handler. This required the name of the optional CPU dependent IDLE thread implementation to change. --- c/src/exec/score/cpu/unix/cpu.c | 4 ++-- c/src/exec/score/cpu/unix/cpu.h | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'c/src/exec/score/cpu/unix') diff --git a/c/src/exec/score/cpu/unix/cpu.c b/c/src/exec/score/cpu/unix/cpu.c index e32410aa35..5578911b16 100644 --- a/c/src/exec/score/cpu/unix/cpu.c +++ b/c/src/exec/score/cpu/unix/cpu.c @@ -339,7 +339,7 @@ void _CPU_Install_interrupt_stack( void ) /*PAGE * - * _CPU_Internal_threads_Idle_thread_body + * _CPU_Thread_Idle_body * * Stop until we get a signal which is the logically the same thing * entering low-power or sleep mode on a real processor and waiting for @@ -347,7 +347,7 @@ void _CPU_Install_interrupt_stack( void ) * CPU cycles which is again similar to low power mode. */ -void _CPU_Internal_threads_Idle_thread_body( void ) +void _CPU_Thread_Idle_body( void ) { while (1) pause(); diff --git a/c/src/exec/score/cpu/unix/cpu.h b/c/src/exec/score/cpu/unix/cpu.h index df582ab44b..0f1be5283b 100644 --- a/c/src/exec/score/cpu/unix/cpu.h +++ b/c/src/exec/score/cpu/unix/cpu.h @@ -221,9 +221,9 @@ extern "C" { /* * Does this port provide a CPU dependent IDLE task implementation? * - * If TRUE, then the routine _CPU_Internal_threads_Idle_thread_body + * If TRUE, then the routine _CPU_Thread_Idle_body * must be provided and is the default IDLE thread body instead of - * _Internal_threads_Idle_thread_body. + * _CPU_Thread_Idle_body. * * If FALSE, then use the generic IDLE thread body if the BSP does * not provide one. @@ -471,7 +471,7 @@ typedef struct { void (*idle_task)( void ); boolean do_zero_of_workspace; unsigned32 interrupt_stack_size; - unsigned32 extra_system_initialization_stack; + unsigned32 extra_mpci_receive_server_stack; } rtems_cpu_table; /* @@ -542,11 +542,11 @@ EXTERN void (*_CPU_Thread_dispatch_pointer)(); /* * Amount of extra stack (above minimum stack size) required by - * system initialization thread. Remember that in a multiprocessor - * system the system intialization thread becomes the MP server thread. + * MPCI receive server thread. Remember that in a multiprocessor + * system this thread must exist and be able to process all directives. */ -#define CPU_SYSTEM_INITIALIZATION_THREAD_EXTRA_STACK 0 +#define CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK 0 /* * This defines the number of entries in the ISR_Vector_table managed @@ -873,7 +873,7 @@ void _CPU_ISR_install_vector( void _CPU_Install_interrupt_stack( void ); /* - * _CPU_Internal_threads_Idle_thread_body + * _CPU_Thread_Idle_body * * This routine is the CPU dependent IDLE thread body. * @@ -881,7 +881,7 @@ void _CPU_Install_interrupt_stack( void ); * is TRUE. */ -void _CPU_Internal_threads_Idle_thread_body( void ); +void _CPU_Thread_Idle_body( void ); /* * _CPU_Context_switch -- cgit v1.2.3