mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) );
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user