Move task control files from sched/ to sched/task

This commit is contained in:
Gregory Nutt
2014-08-08 16:44:08 -06:00
parent 1c99d53bb1
commit c98ece6bec
11 changed files with 39 additions and 28 deletions
+1
View File
@@ -45,6 +45,7 @@
#include <8052.h> #include <8052.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include "task/task.h"
#include "os_internal.h" #include "os_internal.h"
#include "up_internal.h" #include "up_internal.h"
+4 -3
View File
@@ -43,13 +43,14 @@
#include <debug.h> #include <debug.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include "os_internal.h"
#include "up_internal.h"
#ifdef CONFIG_DUMP_ON_EXIT #ifdef CONFIG_DUMP_ON_EXIT
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#endif #endif
#include "task/task.h"
#include "os_internal.h"
#include "up_internal.h"
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
+4 -3
View File
@@ -43,13 +43,14 @@
#include <debug.h> #include <debug.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include "os_internal.h"
#include "up_internal.h"
#ifdef CONFIG_DUMP_ON_EXIT #ifdef CONFIG_DUMP_ON_EXIT
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#endif #endif
#include "task/task.h"
#include "os_internal.h"
#include "up_internal.h"
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
+4 -3
View File
@@ -43,13 +43,14 @@
#include <debug.h> #include <debug.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include "os_internal.h"
#include "up_internal.h"
#ifdef CONFIG_DUMP_ON_EXIT #ifdef CONFIG_DUMP_ON_EXIT
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#endif #endif
#include "task/task.h"
#include "os_internal.h"
#include "up_internal.h"
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
+4 -3
View File
@@ -45,13 +45,14 @@
#include <debug.h> #include <debug.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include "os_internal.h"
#include "up_internal.h"
#ifdef CONFIG_DUMP_ON_EXIT #ifdef CONFIG_DUMP_ON_EXIT
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#endif #endif
#include "task/task.h"
#include "os_internal.h"
#include "up_internal.h"
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
+3 -2
View File
@@ -52,11 +52,12 @@
#include <stdlib.h> #include <stdlib.h>
#include <arch/irq.h> #include <arch/irq.h>
#include <arch/arch.h> #include <arch/arch.h>
#include <os_internal.h>
#include "task/task.h"
#include "os_internal.h"
struct tcb_s *current_task = NULL; struct tcb_s *current_task = NULL;
/** /**
* This function is called in non-interrupt context * This function is called in non-interrupt context
* to switch tasks. * to switch tasks.
+4 -3
View File
@@ -44,13 +44,14 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include "os_internal.h"
#include "up_internal.h"
#ifdef CONFIG_DUMP_ON_EXIT #ifdef CONFIG_DUMP_ON_EXIT
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#endif #endif
#include "task/task.h"
#include "os_internal.h"
#include "up_internal.h"
/**************************************************************************** /****************************************************************************
* Private Definitions * Private Definitions
****************************************************************************/ ****************************************************************************/
+1
View File
@@ -44,6 +44,7 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include "task/task.h"
#include "os_internal.h" #include "os_internal.h"
#include "up_internal.h" #include "up_internal.h"
+4 -3
View File
@@ -43,13 +43,14 @@
#include <debug.h> #include <debug.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include "os_internal.h"
#include "up_internal.h"
#ifdef CONFIG_DUMP_ON_EXIT #ifdef CONFIG_DUMP_ON_EXIT
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#endif #endif
#include "task/task.h"
#include "os_internal.h"
#include "up_internal.h"
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
+5 -4
View File
@@ -44,14 +44,15 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include "chip/chip.h"
#include "os_internal.h"
#include "up_internal.h"
#ifdef CONFIG_DUMP_ON_EXIT #ifdef CONFIG_DUMP_ON_EXIT
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#endif #endif
#include "chip/chip.h"
#include "task/task.h"
#include "os_internal.h"
#include "up_internal.h"
/**************************************************************************** /****************************************************************************
* Private Definitions * Private Definitions
****************************************************************************/ ****************************************************************************/
+5 -4
View File
@@ -45,14 +45,15 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include "chip/chip.h"
#include "os_internal.h"
#include "up_internal.h"
#ifdef CONFIG_DUMP_ON_EXIT #ifdef CONFIG_DUMP_ON_EXIT
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#endif #endif
#include "chip/chip.h"
#include "task/task.h"
#include "os_internal.h"
#include "up_internal.h"
/**************************************************************************** /****************************************************************************
* Private Definitions * Private Definitions
****************************************************************************/ ****************************************************************************/