diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-01 13:21:15 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-01 13:21:15 -0600 |
commit | 7bfdcaa22bd60cd34f11b0592c53fc5da1a37617 (patch) | |
tree | 77b4f3886eb3f4049545827c2008d161c318a9fa /nuttx/include/sched.h | |
parent | 9ee5cfaffa313949563fb37f7cd39a2b7620a4dd (diff) | |
download | px4-nuttx-7bfdcaa22bd60cd34f11b0592c53fc5da1a37617.tar.gz px4-nuttx-7bfdcaa22bd60cd34f11b0592c53fc5da1a37617.tar.bz2 px4-nuttx-7bfdcaa22bd60cd34f11b0592c53fc5da1a37617.zip |
Remove final traces of the 8015 from the NuttX source tree
Diffstat (limited to 'nuttx/include/sched.h')
-rw-r--r-- | nuttx/include/sched.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/nuttx/include/sched.h b/nuttx/include/sched.h index bb414b66d..96afbedb8 100644 --- a/nuttx/include/sched.h +++ b/nuttx/include/sched.h @@ -63,21 +63,6 @@ #define PTHREAD_KEYS_MAX CONFIG_NPTHREAD_KEYS -/* Non-standard Helper **********************************************************/ -/* One processor family supported by NuttX has a single, fixed hardware stack. - * That is the 8051 family. So for that family only, there is a variant form - * of task_create() that does not take a stack size parameter. The following - * helper macros are provided to work around the ugliness of that exception. - */ - -#ifndef CONFIG_CUSTOM_STACK -# define TASK_INIT(t,n,p,m,s,e,a) task_init(t,n,p,m,s,e,a) -# define TASK_CREATE(n,p,s,e,a) task_create(n,p,s,e,a) -#else -# define TASK_INIT(t,n,p,m,s,e,a) task_init(t,n,p,e,a) -# define TASK_CREATE(n,p,s,e,a) task_create(n,p,e,a) -#endif - /******************************************************************************** * Public Type Definitions ********************************************************************************/ @@ -109,22 +94,12 @@ extern "C" /* Task Control Interfaces (non-standard) */ -#ifndef CONFIG_CUSTOM_STACK int task_init(FAR struct tcb_s *tcb, const char *name, int priority, FAR uint32_t *stack, uint32_t stack_size, main_t entry, FAR char * const argv[]); -#else -int task_init(FAR struct tcb_s *tcb, const char *name, int priority, - main_t entry, FAR char * const argv[]); -#endif int task_activate(FAR struct tcb_s *tcb); -#ifndef CONFIG_CUSTOM_STACK int task_create(FAR const char *name, int priority, int stack_size, main_t entry, FAR char * const argv[]); -#else -int task_create(FAR const char *name, int priority, main_t entry, - FAR char * const argv[]); -#endif int task_delete(pid_t pid); int task_restart(pid_t pid); |