diff --git a/Documentation/NuttxUserGuide.html b/Documentation/NuttxUserGuide.html index fb5bec36bbb..a3fd8e55a75 100644 --- a/Documentation/NuttxUserGuide.html +++ b/Documentation/NuttxUserGuide.html @@ -307,10 +307,8 @@ int task_create(char *name, int priority, int stack_size, main_t entry, char * c
priority. Priority of the new taskstack_size. size (in bytes) of the stack neededentry. Entry point of a new taskargv. A pointer to an array of input parameters. Up to
- CONFIG_MAX_TASK_ARG parameters may be provided.
- If fewer than CONFIG_MAX_TASK_ARG parameters are
- passed, the list should be terminated with a NULL argv[] value.
+ argv. A pointer to an array of input parameters.
+ The array should be terminated with a NULL argv[] value.
If no parameters are required, argv may be NULL.
@@ -376,10 +374,8 @@ VxWorks provides the following similar interface:
stack. Start of the pre-allocated stack
stack_size. size (in bytes) of the pre-allocated stack
entry. Entry point of a new task
- argv. A pointer to an array of input parameters. Up to
- CONFIG_MAX_TASK_ARG parameters may be provided.
- If fewer than CONFIG_MAX_TASK_ARG parameters are
- passed, the list should be terminated with a NULL argv[] value.
+ argv. A pointer to an array of input parameters.
+ The array should be terminated with a NULL argv[] value.
If no parameters are required, argv may be NULL.
diff --git a/include/nuttx/kthread.h b/include/nuttx/kthread.h
index c9f2ffaf70e..9f745483c47 100644
--- a/include/nuttx/kthread.h
+++ b/include/nuttx/kthread.h
@@ -91,9 +91,7 @@ extern "C"
* priority - Priority of the new task
* stack_size - size (in bytes) of the stack needed
* entry - Entry point of a new task
- * arg - A pointer to an array of input parameters. Up to
- * CONFIG_MAX_TASK_ARG parameters may be provided. If fewer
- * than CONFIG_MAX_TASK_ARG parameters are passed, the list
+ * arg - A pointer to an array of input parameters. The array
* should be terminated with a NULL argv[] value. If no
* parameters are required, argv may be NULL.
*
@@ -120,9 +118,7 @@ int nxtask_create(FAR const char *name, int priority,
* priority - Priority of the new task
* stack_size - size (in bytes) of the stack needed
* entry - Entry point of a new task
- * arg - A pointer to an array of input parameters. Up to
- * CONFIG_MAX_TASK_ARG parameters may be provided. If fewer
- * than CONFIG_MAX_TASK_ARG parameters are passed, the list
+ * arg - A pointer to an array of input parameters. The array
* should be terminated with a NULL argv[] value. If no
* parameters are required, argv may be NULL.
*
diff --git a/sched/task/task_create.c b/sched/task/task_create.c
index f09d04578c0..88e1351e040 100644
--- a/sched/task/task_create.c
+++ b/sched/task/task_create.c
@@ -72,9 +72,7 @@
* priority - Priority of the new task
* stack_size - size (in bytes) of the stack needed
* entry - Entry point of a new task
- * arg - A pointer to an array of input parameters. Up to
- * CONFIG_MAX_TASK_ARG parameters may be provided. If fewer
- * than CONFIG_MAX_TASK_ARG parameters are passed, the list
+ * arg - A pointer to an array of input parameters. The array
* should be terminated with a NULL argv[] value. If no
* parameters are required, argv may be NULL.
*
@@ -218,9 +216,7 @@ errout_with_tcb:
* priority - Priority of the new task
* stack_size - size (in bytes) of the stack needed
* entry - Entry point of a new task
- * arg - A pointer to an array of input parameters. Up to
- * CONFIG_MAX_TASK_ARG parameters may be provided. If fewer
- * than CONFIG_MAX_TASK_ARG parameters are passed, the list
+ * arg - A pointer to an array of input parameters. The array
* should be terminated with a NULL argv[] value. If no
* parameters are required, argv may be NULL.
*
@@ -259,9 +255,7 @@ int nxtask_create(FAR const char *name, int priority,
* priority - Priority of the new task
* stack_size - size (in bytes) of the stack needed
* entry - Entry point of a new task
- * arg - A pointer to an array of input parameters. Up to
- * CONFIG_MAX_TASK_ARG parameters may be provided. If fewer
- * than CONFIG_MAX_TASK_ARG parameters are passed, the list
+ * arg - A pointer to an array of input parameters. The array
* should be terminated with a NULL argv[] value. If no
* parameters are required, argv may be NULL.
*
@@ -300,9 +294,7 @@ int task_create(FAR const char *name, int priority,
* priority - Priority of the new task
* stack_size - size (in bytes) of the stack needed
* entry - Entry point of a new task
- * arg - A pointer to an array of input parameters. Up to
- * CONFIG_MAX_TASK_ARG parameters may be provided. If fewer
- * than CONFIG_MAX_TASK_ARG parameters are passed, the list
+ * arg - A pointer to an array of input parameters. The array
* should be terminated with a NULL argv[] value. If no
* parameters are required, argv may be NULL.
*
diff --git a/sched/task/task_init.c b/sched/task/task_init.c
index 2d15f84736e..1900e5d1cdf 100644
--- a/sched/task/task_init.c
+++ b/sched/task/task_init.c
@@ -74,9 +74,7 @@
* stack - Start of the pre-allocated stack
* stack_size - Size (in bytes) of the stack allocated
* entry - Application start point of the new task
- * arg - A pointer to an array of input parameters. Up to
- * CONFIG_MAX_TASK_ARG parameters may be provided. If fewer
- * than CONFIG_MAX_TASK_ARG parameters are passed, the list
+ * arg - A pointer to an array of input parameters. The array
* should be terminated with a NULL argv[] value. If no
* parameters are required, argv may be NULL.
*
diff --git a/sched/task/task_setup.c b/sched/task/task_setup.c
index fd1105d1eb5..3349f5a2b6c 100644
--- a/sched/task/task_setup.c
+++ b/sched/task/task_setup.c
@@ -485,9 +485,7 @@ static void task_namesetup(FAR struct task_tcb_s *tcb, FAR const char *name)
*
* Input Parameters:
* tcb - Address of the new task's TCB
- * argv - A pointer to an array of input parameters. Up to
- * CONFIG_MAX_TASK_ARG parameters may be provided. If fewer than
- * CONFIG_MAX_TASK_ARG parameters are passed, the list should be
+ * argv - A pointer to an array of input parameters. The arrau should be
* terminated with a NULL argv[] value. If no parameters are
* required, argv may be NULL.
*
@@ -703,9 +701,7 @@ int pthread_schedsetup(FAR struct pthread_tcb_s *tcb, int priority,
* Input Parameters:
* tcb - Address of the new task's TCB
* name - Name of the new task (not used)
- * argv - A pointer to an array of input parameters. Up to
- * CONFIG_MAX_TASK_ARG parameters may be provided. If fewer than
- * CONFIG_MAX_TASK_ARG parameters are passed, the list should be
+ * argv - A pointer to an array of input parameters. The array should be
* terminated with a NULL argv[] value. If no parameters are
* required, argv may be NULL.
*