diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-02 21:27:47 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-02 21:27:47 +0000 |
commit | 36727bb989aaf6110386f75262bd6a5f6dbec809 (patch) | |
tree | 031ccc9da4a48ac560992ebbc80cfe201eb4eb15 /nuttx/include/nuttx/arch.h | |
parent | f06ed1467da35379a46c5fce7535c35d1811b888 (diff) | |
download | px4-nuttx-36727bb989aaf6110386f75262bd6a5f6dbec809.tar.gz px4-nuttx-36727bb989aaf6110386f75262bd6a5f6dbec809.tar.bz2 px4-nuttx-36727bb989aaf6110386f75262bd6a5f6dbec809.zip |
Code complete for 8051 (not tested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@29 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/nuttx/arch.h')
-rw-r--r-- | nuttx/include/nuttx/arch.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/arch.h b/nuttx/include/nuttx/arch.h index 11e6a96fc..a243a3f6a 100644 --- a/nuttx/include/nuttx/arch.h +++ b/nuttx/include/nuttx/arch.h @@ -150,7 +150,9 @@ EXTERN void up_initial_state(FAR _TCB *tcb); * must be allocated. ************************************************************/ +#ifndef CONFIG_CUSTOM_STACK EXTERN STATUS up_create_stack(FAR _TCB *tcb, size_t stack_size); +#endif /************************************************************ * Name: up_use_stack @@ -173,7 +175,9 @@ EXTERN STATUS up_create_stack(FAR _TCB *tcb, size_t stack_size); * ************************************************************/ +#ifndef CONFIG_CUSTOM_STACK EXTERN STATUS up_use_stack(FAR _TCB *tcb, FAR void *stack, size_t stack_size); +#endif /************************************************************ * Name: up_release_stack @@ -184,7 +188,9 @@ EXTERN STATUS up_use_stack(FAR _TCB *tcb, FAR void *stack, size_t stack_size); * ************************************************************/ +#ifndef CONFIG_CUSTOM_STACK EXTERN void up_release_stack(FAR _TCB *dtcb); +#endif /************************************************************ * Name: up_unblock_task @@ -314,7 +320,9 @@ EXTERN void up_reprioritize_rtr(FAR _TCB *tcb, ubyte priority); * ************************************************************/ +#ifndef CONFIG_DISABLE_SIGNALS EXTERN void up_schedule_sigaction(FAR _TCB *tcb, sig_deliver_t sigdeliver); +#endif /************************************************************ * Name: up_allocate_heap |