aboutsummaryrefslogtreecommitdiff
path: root/nuttx/sched/os_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-26 23:49:02 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-26 23:49:02 +0000
commit47b94bafa5045532f239ea57a3610873b1a71368 (patch)
tree59eb55cb25bbd20b052a87de5838d80a410a1439 /nuttx/sched/os_internal.h
parentb82c36961aa730fc39a9fc8eac17e2518128cb67 (diff)
downloadpx4-firmware-47b94bafa5045532f239ea57a3610873b1a71368.tar.gz
px4-firmware-47b94bafa5045532f239ea57a3610873b1a71368.tar.bz2
px4-firmware-47b94bafa5045532f239ea57a3610873b1a71368.zip
Move socket data from TCB to task group structure.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5570 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/os_internal.h')
-rw-r--r--nuttx/sched/os_internal.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/nuttx/sched/os_internal.h b/nuttx/sched/os_internal.h
index 5aa6487d0..262a40ccc 100644
--- a/nuttx/sched/os_internal.h
+++ b/nuttx/sched/os_internal.h
@@ -99,14 +99,6 @@ enum os_crash_codes_e
#define MAX_TASKS_MASK (CONFIG_MAX_TASKS-1)
#define PIDHASH(pid) ((pid) & MAX_TASKS_MASK)
-/* Stubs used when there are no file descriptors */
-
-#if CONFIG_NFILE_DESCRIPTORS <= 0 && CONFIG_NSOCKET_DESCRIPTORS <= 0
-# define sched_setupidlefiles(t) (OK)
-# define sched_setuptaskfiles(t) (OK)
-# define sched_setuppthreadfiles(t) (OK)
-#endif
-
/* 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 kernel_thread() that does not take a stack size parameter. The following
@@ -293,15 +285,6 @@ int sched_reprioritize(FAR _TCB *tcb, int sched_priority);
FAR _TCB *sched_gettcb(pid_t pid);
bool sched_verifytcb(FAR _TCB *tcb);
-#if CONFIG_NFILE_DESCRIPTORS > 0 || CONFIG_NSOCKET_DESCRIPTORS > 0
-int sched_setupidlefiles(FAR _TCB *tcb);
-int sched_setuptaskfiles(FAR _TCB *tcb);
-int sched_setuppthreadfiles(FAR _TCB *tcb);
-#if CONFIG_NFILE_STREAMS > 0
-int sched_setupstreams(FAR _TCB *tcb);
-#endif
-#endif
-
int sched_releasetcb(FAR _TCB *tcb);
void sched_garbagecollection(void);