diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-08-28 18:26:05 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-08-28 18:26:05 +0000 |
commit | b99a35a8fcfb19f56e3ec06a4f6783edc3dc4d35 (patch) | |
tree | 08173e4c34e81f6fe622a24a6b153839b810930b /cpukit | |
parent | 2009-08-28 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-b99a35a8fcfb19f56e3ec06a4f6783edc3dc4d35.tar.bz2 |
2009-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/malloc_initialize.c, sapi/src/exinit.c,
score/src/threadstartmultitasking.c: Fix spacing.
* libmisc/stackchk/check.c: Move variable into compiler specific conditional.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libcsupport/src/malloc_initialize.c | 1 | ||||
-rw-r--r-- | cpukit/libmisc/stackchk/check.c | 4 | ||||
-rw-r--r-- | cpukit/sapi/src/exinit.c | 3 | ||||
-rw-r--r-- | cpukit/score/src/threadstartmultitasking.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 31f3f3812c..312d8cc3b4 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2009-08-28 Joel Sherrill <joel.sherrill@OARcorp.com> + + * libcsupport/src/malloc_initialize.c, sapi/src/exinit.c, + score/src/threadstartmultitasking.c: Fix spacing. + * libmisc/stackchk/check.c: Move variable into compiler specific conditional. + 2009-08-26 Sebastian Huber <Sebastian.Huber@embedded-brains.de> * score/inline/rtems/score/address.inl: Added const qualifier diff --git a/cpukit/libcsupport/src/malloc_initialize.c b/cpukit/libcsupport/src/malloc_initialize.c index 3bbe5e6fd2..0c7c664856 100644 --- a/cpukit/libcsupport/src/malloc_initialize.c +++ b/cpukit/libcsupport/src/malloc_initialize.c @@ -111,7 +111,6 @@ void RTEMS_Malloc_Initialize( ); if ( !status ) rtems_fatal_error_occurred( status ); - } MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) ); diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c index 316824516d..4cc1320610 100644 --- a/cpukit/libmisc/stackchk/check.c +++ b/cpukit/libmisc/stackchk/check.c @@ -60,9 +60,9 @@ static inline bool Stack_check_Frame_pointer_in_range( Stack_Control *the_stack ) { - void *sp = __builtin_frame_address(0); - #if defined(__GNUC__) + void *sp = __builtin_frame_address(0); + if ( sp < the_stack->area ) { return false; } diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c index 40cb02a6ad..b0574f3b34 100644 --- a/cpukit/sapi/src/exinit.c +++ b/cpukit/sapi/src/exinit.c @@ -104,7 +104,6 @@ void rtems_initialize_data_structures(void) * Do this as early as possible to ensure no debugging output * is even attempted to be printed. */ - _Debug_Manager_initialization(); _API_extensions_Initialization(); @@ -164,7 +163,6 @@ void rtems_initialize_data_structures(void) * At this point all API extensions are in place. After the call to * _Thread_Create_idle() _Thread_Executing and _Thread_Heir will be set. */ - _Thread_Create_idle(); /* @@ -211,7 +209,6 @@ void rtems_initialize_device_drivers(void) * * The API extensions are supposed to create user initialization tasks. */ - _API_extensions_Run_postdriver(); } diff --git a/cpukit/score/src/threadstartmultitasking.c b/cpukit/score/src/threadstartmultitasking.c index 20acbfabe6..08c66c3d66 100644 --- a/cpukit/score/src/threadstartmultitasking.c +++ b/cpukit/score/src/threadstartmultitasking.c @@ -78,8 +78,6 @@ void _Thread_Start_multitasking( void ) * Ignore the CPU_USE_DEFERRED_FP_SWITCH because we must always * switch in the first thread if it is FP. */ - - #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) /* * don't need to worry about saving BSP's floating point state |