summaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-08 15:24:50 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-08 15:24:50 +0000
commit6e1fea8b98a48200b12a6e4d304f33d18ba70e89 (patch)
tree75a7200559a8bbe40cee62173ea6a2bc58f4ac48 /nuttx/sched
parentfde641dedf8a3922658e92a19ca8eb7698db3ac0 (diff)
downloadpx4-nuttx-6e1fea8b98a48200b12a6e4d304f33d18ba70e89.tar.gz
px4-nuttx-6e1fea8b98a48200b12a6e4d304f33d18ba70e89.tar.bz2
px4-nuttx-6e1fea8b98a48200b12a6e4d304f33d18ba70e89.zip
Add logic to initialize SAM3U user applications
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3482 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/os_bringup.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/nuttx/sched/os_bringup.c b/nuttx/sched/os_bringup.c
index 7cdd06dcb..eb1875a69 100644
--- a/nuttx/sched/os_bringup.c
+++ b/nuttx/sched/os_bringup.c
@@ -134,9 +134,9 @@ int os_bringup(void)
#endif
int init_taskid;
- /* Start the page fill worker thread that will resolve page faults.
- * This should always be the first thread started because it may
- * have to resolve page faults in other threads
+ /* Start the page fill worker kernel thread that will resolve page faults.
+ * This should always be the first thread started because it may have to
+ * resolve page faults in other threads
*/
#ifdef CONFIG_PAGING
@@ -148,7 +148,9 @@ int os_bringup(void)
ASSERT(g_pgworker != ERROR);
#endif
- /* Start the worker thread that will perform misc garbage clean-up */
+ /* Start the worker thread that will serve as the device driver "bottom-
+ * half" and will perform misc garbage clean-up.
+ */
#ifdef CONFIG_SCHED_WORKQUEUE
svdbg("Starting worker thread\n");
@@ -160,7 +162,8 @@ int os_bringup(void)
#endif
/* Once the operating system has been initialized, the system must be
- * started by spawning the user init thread of execution.
+ * started by spawning the user init thread of execution. This is the
+ * first user-mode thead.
*/
svdbg("Starting init thread\n");