diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-09 01:13:24 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-09 01:13:24 +0000 |
commit | 4ddac4a34e050d0a22a4510526860726c6f16183 (patch) | |
tree | 82daabd3578dc2ac395b04771b90d4c8bdc5dccd /nuttx/sched | |
parent | 711d70866a83ae674146d8c1798bd0054cac2392 (diff) | |
download | px4-nuttx-4ddac4a34e050d0a22a4510526860726c6f16183.tar.gz px4-nuttx-4ddac4a34e050d0a22a4510526860726c6f16183.tar.bz2 px4-nuttx-4ddac4a34e050d0a22a4510526860726c6f16183.zip |
Support C pre-processors without variable-arg macros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@535 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r-- | nuttx/sched/os_start.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c index defcc3911..07705b5f4 100644 --- a/nuttx/sched/os_start.c +++ b/nuttx/sched/os_start.c @@ -1,7 +1,7 @@ -/************************************************************ - * os_start.c +/**************************************************************************** + * sched/os_start.c * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include <sys/types.h> #include <debug.h> @@ -62,19 +62,19 @@ #include "timer_internal.h" #include "irq_internal.h" -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Global Variables - ************************************************************/ + ****************************************************************************/ -/* Task Lists ***********************************************/ +/* Task Lists ***************************************************************/ /* The state of a task is indicated both by the task_state field * of the TCB and by a series of task lists. All of these * tasks lists are declared below. Although it is not always @@ -180,9 +180,9 @@ const tasklist_t g_tasklisttable[NUM_TASK_STATES] = #endif }; -/************************************************************ +/**************************************************************************** * Private Variables - ************************************************************/ + ****************************************************************************/ /* 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 @@ -196,20 +196,20 @@ static FAR _TCB g_idletcb; static FAR char g_idlename[] = "Idle Task"; -/************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Name: os_start * Description: This function is called to initialize the * operating system and to spawn the user init thread of * execution - ************************************************************/ + ****************************************************************************/ void os_start(void) { |