summaryrefslogtreecommitdiff
path: root/nuttx/sched/os_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-11 22:19:01 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-11 22:19:01 +0000
commitdc5ec457e96f2c2e874f0626e0d8399ce136a4b3 (patch)
tree13a9ee8ef6cfb9e62ad01f65d34e3d82d274db51 /nuttx/sched/os_internal.h
parent7e354ad57b4d040ab88e2eeb4ac84240e65e0e52 (diff)
downloadpx4-nuttx-dc5ec457e96f2c2e874f0626e0d8399ce136a4b3.tar.gz
px4-nuttx-dc5ec457e96f2c2e874f0626e0d8399ce136a4b3.tar.bz2
px4-nuttx-dc5ec457e96f2c2e874f0626e0d8399ce136a4b3.zip
Divided _task_init() in several smaller functions that take fewer paramters. This was necessary to reduce the stack usage for the 8051/2 which has a tiny, 256 byte stack
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@58 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/os_internal.h')
-rw-r--r--nuttx/sched/os_internal.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/sched/os_internal.h b/nuttx/sched/os_internal.h
index 222e0ba88..ca2222ad6 100644
--- a/nuttx/sched/os_internal.h
+++ b/nuttx/sched/os_internal.h
@@ -240,9 +240,10 @@ extern const tasklist_t g_tasklisttable[NUM_TASK_STATES];
************************************************************/
extern void task_start(void);
-extern STATUS _task_init(FAR _TCB *tcb, const char *name, int priority,
- start_t start, main_t main, boolean pthread,
- char *argv[]);
+extern STATUS task_schedsetup(FAR _TCB *tcb, int priority,
+ start_t start, main_t main);
+extern STATUS task_argsetup(FAR _TCB *tcb, const char *name,
+ boolean pthread, char *argv[]);
extern boolean sched_addreadytorun(FAR _TCB *rtrtcb);
extern boolean sched_removereadytorun(FAR _TCB *rtrtcb);