summaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-30 11:14:51 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-30 11:14:51 -0600
commit932f0d94e00ef4fd1763ebe7097ff74f42728212 (patch)
tree5f7d5100cc8596daba6339432c1d6b3598ff7d26 /nuttx/sched
parent890ad5576a3d88cf27246c3b4cfe542e721c72dd (diff)
downloadpx4-nuttx-932f0d94e00ef4fd1763ebe7097ff74f42728212.tar.gz
px4-nuttx-932f0d94e00ef4fd1763ebe7097ff74f42728212.tar.bz2
px4-nuttx-932f0d94e00ef4fd1763ebe7097ff74f42728212.zip
Cosmetic: Fix all comments, defaults, etc. that references the defunct name user_start
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/Kconfig14
-rw-r--r--nuttx/sched/init/os_bringup.c4
-rw-r--r--nuttx/sched/init/os_start.c4
3 files changed, 11 insertions, 11 deletions
diff --git a/nuttx/sched/Kconfig b/nuttx/sched/Kconfig
index 57e96e571..c3f7dbbf2 100644
--- a/nuttx/sched/Kconfig
+++ b/nuttx/sched/Kconfig
@@ -220,11 +220,11 @@ menu "Tasks and Scheduling"
config USER_ENTRYPOINT
string "Application entry point"
- default "user_start"
+ default "main"
---help---
The name of the entry point for user applications. For the example
applications this is of the form 'app_main' where 'app' is the application
- name. If not defined, USER_ENTRYPOINT defaults to "user_start."
+ name. If not defined, USER_ENTRYPOINT defaults to "main".
config RR_INTERVAL
int "Round robin timeslice (MSEC)"
@@ -716,16 +716,16 @@ config IDLETHREAD_STACKSIZE
default 1024
---help---
The size of the initial stack used by the IDLE thread. The IDLE thread
- is the thread that (1) performs the inital boot of the system up to the
- point where user_start() is spawned, and (2) there after is the IDLE
- thread that executes only when there is no other thread ready to run.
+ is the thread that (1) performs the initial boot of the system up to the
+ point where start-up appliation is spawned, and (2) there after is the
+ IDLE thread that executes only when there is no other thread ready to run.
config USERMAIN_STACKSIZE
int "Main thread stack size"
default 2048
---help---
- The size of the stack to allocate for the main user thread that begins at
- the user_start() entry point.
+ The size of the stack to allocate for the user initialization thread
+ that is started as soon as the OS completes its initialization.
config PTHREAD_STACK_MIN
int "Minimum pthread stack size"
diff --git a/nuttx/sched/init/os_bringup.c b/nuttx/sched/init/os_bringup.c
index 175330ad5..150aa4481 100644
--- a/nuttx/sched/init/os_bringup.c
+++ b/nuttx/sched/init/os_bringup.c
@@ -63,8 +63,8 @@
****************************************************************************/
/* If NuttX is built as a separately compiled module, then the config.h header
- * file should contain the address of the user module entry point. If not
- * then the default entry point is user_start.
+ * file should contain the address of the entry point (or path to the file)
+ * that will perform the application-level initialization.
*/
/* Customize some strings */
diff --git a/nuttx/sched/init/os_start.c b/nuttx/sched/init/os_start.c
index 7130b8ae8..b1ac5af2f 100644
--- a/nuttx/sched/init/os_start.c
+++ b/nuttx/sched/init/os_start.c
@@ -207,8 +207,8 @@ const struct tasklist_s g_tasklisttable[NUM_TASK_STATES] =
****************************************************************************/
/* This is the task control block for this thread of execution. This thread
* of execution is the IDLE task. NOTE: the system boots into the IDLE
- * task. The IDLE task spawns the user initialization task (user_start) and
- * that user init task is responsible for bringing up the rest of the system
+ * task. The IDLE task spawns the user initialization task and that user
+ * initialization task is responsible for bringing up the rest of the system.
*/
static FAR struct task_tcb_s g_idletcb;