summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-05-21 16:04:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-05-21 16:04:44 +0000
commite2ce15fc778a5b682edb13e4eafa67e007440bc5 (patch)
tree248fd95446525fa98a664c53e01496b87fcb86b6 /doc
parent2004-05-21 Till Strauman <strauman@slac.stanford.edu> (diff)
downloadrtems-e2ce15fc778a5b682edb13e4eafa67e007440bc5.tar.bz2
2004-05-21 Joel Sherrill <joel@OARcorp.com>
PR 627/doc * task.t: Behavior documented for an rtems_task_create with stacksize < minimum was not the implemented behavior.
Diffstat (limited to 'doc')
-rw-r--r--doc/user/ChangeLog6
-rw-r--r--doc/user/task.t8
2 files changed, 10 insertions, 4 deletions
diff --git a/doc/user/ChangeLog b/doc/user/ChangeLog
index 0eef4334d2..8910a2df65 100644
--- a/doc/user/ChangeLog
+++ b/doc/user/ChangeLog
@@ -1,3 +1,9 @@
+2004-05-21 Joel Sherrill <joel@OARcorp.com>
+
+ PR 627/doc
+ * task.t: Behavior documented for an rtems_task_create with stacksize <
+ minimum was not the implemented behavior.
+
2004-05-06 Joel Sherrill <joel@OARcorp.com>
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