annotate include/TaskManager/SchedTaskList.h @ 42:aa11038dbdc1

*** empty log message ***
author gongo
date Thu, 14 Feb 2008 18:27:37 +0900
parents
children 028ffc9c0375
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
42
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
1 #ifndef INCLUDED_SCHED_TASKLIST
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_SCHED_TASKLIST
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
3
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
4 #ifndef INCLUDED_SCHEDULER
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
5 # include "Scheduler.h"
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
6 #endif
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
7
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
8 #ifndef INCLUDED_SCHED_TASK_BASE
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
9 # include "SchedTaskBase.h"
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
10 #endif
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
11
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
12 #include "error.h"
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
13
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
14 class SchedTaskList : public SchedTaskBase {
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
15 public:
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
16 /* constructor */
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
17 SchedTaskList(unsigned int addr, TaskListPtr list, DmaManager* c);
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
18
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
19 /* variables */
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
20 unsigned int params_addr;
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
21 TaskListPtr list;
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
22 DmaManager* connector;
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
23
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
24 /* functions */
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
25 SchedTaskBase* next(Scheduler *, SchedTaskBase *);
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
26
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
27 /* override functions */
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
28 void read(void);
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
29
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
30 #ifdef DEBUG
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
31 void exec(void) { __debug("[SchedTaskList:%s]\n", __FUNCTION__); }
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
32 void write(void) { __debug("[SchedTaskList:%s]\n", __FUNCTION__); }
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
33 #endif
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
34
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
35 };
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
36
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
37 //extern void get_task_list();
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
38 //extern void print_task_list();
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
39
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
40 #endif