forked from Imagelibrary/rtems
2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* iostream/system.h: Init task was close to blowing stack on PowerPC. * minimum/init.c: Disable Classic API Notepads.
This commit is contained in:
@@ -20,8 +20,6 @@ rtems_task Init(
|
||||
|
||||
/* initialize application */
|
||||
|
||||
(void) rtems_task_mode( RTEMS_PREEMPT, RTEMS_PREEMPT_MASK, &mode );
|
||||
|
||||
/* Real application would call idle loop functionality */
|
||||
|
||||
/* but in this case, just return and fall into a fatal error */
|
||||
@@ -72,6 +70,13 @@ rtems_task Init(
|
||||
*/
|
||||
#define CONFIGURE_MAXIMUM_PRIORITY 15
|
||||
|
||||
/*
|
||||
* This disables Classic API Notepads and saves 16 uint32_t's of RAM
|
||||
* per Task Control Block. If you aren't using these and are tight
|
||||
* on RAM, this is an option.
|
||||
*/
|
||||
#define CONFIGURE_DISABLE_CLASSIC_NOTEPADS
|
||||
|
||||
/*
|
||||
* In this application, the initialization task performs the system
|
||||
* initialization and then transforms itself into the idle task.
|
||||
|
||||
Reference in New Issue
Block a user