42
|
1 #ifndef INCLUDED_SCHED_TASKLIST
|
|
2 #define INCLUDED_SCHED_TASKLIST
|
|
3
|
|
4 #ifndef INCLUDED_SCHEDULER
|
|
5 # include "Scheduler.h"
|
|
6 #endif
|
|
7
|
|
8 #ifndef INCLUDED_SCHED_TASK_BASE
|
|
9 # include "SchedTaskBase.h"
|
|
10 #endif
|
|
11
|
|
12 #include "error.h"
|
|
13
|
|
14 class SchedTaskList : public SchedTaskBase {
|
|
15 public:
|
|
16 /* constructor */
|
|
17 SchedTaskList(unsigned int addr, TaskListPtr list, DmaManager* c);
|
|
18
|
|
19 /* variables */
|
|
20 unsigned int params_addr;
|
|
21 TaskListPtr list;
|
|
22 DmaManager* connector;
|
|
23
|
|
24 /* functions */
|
|
25 SchedTaskBase* next(Scheduler *, SchedTaskBase *);
|
|
26
|
|
27 /* override functions */
|
|
28 void read(void);
|
|
29
|
|
30 #ifdef DEBUG
|
|
31 void exec(void) { __debug("[SchedTaskList:%s]\n", __FUNCTION__); }
|
|
32 void write(void) { __debug("[SchedTaskList:%s]\n", __FUNCTION__); }
|
|
33 #endif
|
|
34
|
|
35 };
|
|
36
|
|
37 //extern void get_task_list();
|
|
38 //extern void print_task_list();
|
|
39
|
|
40 #endif
|