forked from Imagelibrary/rtems
Increased stack space of a task.
This commit is contained in:
@@ -41,15 +41,15 @@ rtems_task Init(
|
|||||||
Task_name[ 3 ] = rtems_build_name( 'T', 'A', '3', ' ' );
|
Task_name[ 3 ] = rtems_build_name( 'T', 'A', '3', ' ' );
|
||||||
|
|
||||||
status = rtems_task_create(
|
status = rtems_task_create(
|
||||||
Task_name[ 1 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
|
Task_name[ 1 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
|
||||||
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 1 ]
|
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 1 ]
|
||||||
);
|
);
|
||||||
status = rtems_task_create(
|
status = rtems_task_create(
|
||||||
Task_name[ 2 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
|
Task_name[ 2 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
|
||||||
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 2 ]
|
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 2 ]
|
||||||
);
|
);
|
||||||
status = rtems_task_create(
|
status = rtems_task_create(
|
||||||
Task_name[ 3 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
|
Task_name[ 3 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
|
||||||
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 3 ]
|
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 3 ]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ rtems_task Test_task(
|
|||||||
|
|
||||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||||
|
|
||||||
|
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
|
||||||
|
|
||||||
#include <confdefs.h>
|
#include <confdefs.h>
|
||||||
|
|
||||||
/* global variables */
|
/* global variables */
|
||||||
|
|||||||
@@ -41,15 +41,15 @@ rtems_task Init(
|
|||||||
Task_name[ 3 ] = rtems_build_name( 'T', 'A', '3', ' ' );
|
Task_name[ 3 ] = rtems_build_name( 'T', 'A', '3', ' ' );
|
||||||
|
|
||||||
status = rtems_task_create(
|
status = rtems_task_create(
|
||||||
Task_name[ 1 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
|
Task_name[ 1 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
|
||||||
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 1 ]
|
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 1 ]
|
||||||
);
|
);
|
||||||
status = rtems_task_create(
|
status = rtems_task_create(
|
||||||
Task_name[ 2 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
|
Task_name[ 2 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
|
||||||
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 2 ]
|
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 2 ]
|
||||||
);
|
);
|
||||||
status = rtems_task_create(
|
status = rtems_task_create(
|
||||||
Task_name[ 3 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
|
Task_name[ 3 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
|
||||||
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 3 ]
|
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 3 ]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ rtems_task Test_task(
|
|||||||
|
|
||||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||||
|
|
||||||
|
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
|
||||||
|
|
||||||
#include <confdefs.h>
|
#include <confdefs.h>
|
||||||
|
|
||||||
/* global variables */
|
/* global variables */
|
||||||
|
|||||||
Reference in New Issue
Block a user