From 6e1fea8b98a48200b12a6e4d304f33d18ba70e89 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 8 Apr 2011 15:24:50 +0000 Subject: 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 --- nuttx/sched/os_bringup.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'nuttx/sched') 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"); -- cgit v1.2.3