From 34d934a8f08edad633a6421b38789c5e886ccc23 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 21 May 2004 16:04:47 +0000 Subject: [PATCH] 2004-05-21 Joel Sherrill PR 627/doc * user/task.t: Behavior documented for an rtems_task_create with stacksize < minimum was not the implemented behavior. --- doc/ChangeLog | 6 ++++++ doc/user/task.t | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 9e7ee4e848..e27e0b347c 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2004-05-21 Joel Sherrill + + PR 627/doc + * user/task.t: Behavior documented for an rtems_task_create with + stacksize < minimum was not the implemented behavior. + 2004-05-06 Joel Sherrill PR 618/rtems diff --git a/doc/user/task.t b/doc/user/task.t index 78a4970de7..bd3e296828 100644 --- a/doc/user/task.t +++ b/doc/user/task.t @@ -714,7 +714,6 @@ procedure Task_Create ( @code{@value{RPREFIX}SUCCESSFUL} - task created successfully@* @code{@value{RPREFIX}INVALID_ADDRESS} - @code{id} is NULL@* @code{@value{RPREFIX}INVALID_NAME} - invalid task name@* -@code{@value{RPREFIX}INVALID_SIZE} - stack too small@* @code{@value{RPREFIX}INVALID_PRIORITY} - invalid task priority@* @code{@value{RPREFIX}MP_NOT_CONFIGURED} - multiprocessing not configured@* @code{@value{RPREFIX}TOO_MANY} - too many tasks created@* @@ -743,9 +742,10 @@ This directive will not cause the calling task to be preempted. Valid task priorities range from a high of 1 to a low of 255. -The requested stack size should be at least -@code{@value{RPREFIX}MINIMUM_STACK_SIZE} -bytes. The value of @code{@value{RPREFIX}MINIMUM_STACK_SIZE} +If the requested stack size is less than +@code{@value{RPREFIX}MINIMUM_STACK_SIZE} bytes, then RTEMS +will use @code{@value{RPREFIX}MINIMUM_STACK_SIZE} as the +stack size. The value of @code{@value{RPREFIX}MINIMUM_STACK_SIZE} is processor dependent. Application developers should consider the stack usage of the device drivers when calculating the stack size required for