From f5f4566a5fd726181bba373be576f79026039709 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 6 May 2008 23:17:07 +0000 Subject: [PATCH] 2008-05-06 Joel Sherrill * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve comments. --- cpukit/ChangeLog | 5 +++++ cpukit/sapi/src/exinit.c | 4 ++++ cpukit/score/src/threadstartmultitasking.c | 4 ++-- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 5d510c313d..0d7097bb90 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2008-05-06 Joel Sherrill + + * sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve + comments. + 2008-05-06 Joel Sherrill * score/src/objectget.c: Improve comments and readability. diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c index db2fdb26e2..45390c9a2d 100644 --- a/cpukit/sapi/src/exinit.c +++ b/cpukit/sapi/src/exinit.c @@ -124,6 +124,10 @@ rtems_interrupt_level rtems_initialize_executive_early( _Thread_Dispatch_initialization(); + /* + * Before this is called, we are not allowed to allocate memory + * from the Workspace because it is not initialized. + */ _Workspace_Handler_initialization( (void *)configuration_table->work_space_start, configuration_table->work_space_size diff --git a/cpukit/score/src/threadstartmultitasking.c b/cpukit/score/src/threadstartmultitasking.c index 9422c54cba..19fb0ef35e 100644 --- a/cpukit/score/src/threadstartmultitasking.c +++ b/cpukit/score/src/threadstartmultitasking.c @@ -55,8 +55,8 @@ void _Thread_Start_multitasking( void ) { /* * The system is now multitasking and completely initialized. - * This system thread now either "goes away" in a single processor - * system or "turns into" the server thread in an MP system. + * This system thread now "hides" in a single processor until + * the system is shut down. */ _System_state_Set( SYSTEM_STATE_UP );