Mercurial > hg > Members > kono > Cerium
comparison TaskManager/kernel/schedule/SchedTaskList.h @ 366:09f33c51a204
rename include/TaskManager/* and add memory
author | aaa |
---|---|
date | Mon, 27 Jul 2009 15:51:18 +0900 |
parents | include/TaskManager/SchedTaskList.h@b89ba1d96fff |
children | 1733f3cbfa28 |
comparison
equal
deleted
inserted
replaced
365:f8769040a5df | 366:09f33c51a204 |
---|---|
1 #ifndef INCLUDED_SCHED_TASKLIST | |
2 #define INCLUDED_SCHED_TASKLIST | |
3 | |
4 #include "base.h" | |
5 #include "Scheduler.h" | |
6 #include "SchedTaskBase.h" | |
7 | |
8 #include "error.h" | |
9 | |
10 class SchedTaskList : public SchedTaskBase { | |
11 public: | |
12 /* constructor */ | |
13 SchedTaskList(unsigned int addr, Scheduler *sched); | |
14 | |
15 BASE_NEW_DELETE(SchedTaskList); | |
16 | |
17 /* variables */ | |
18 unsigned int params_addr; | |
19 TaskListPtr list; | |
20 Scheduler *scheduler; | |
21 | |
22 int flag_renewTaskList; | |
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 const int SCHED_TASKLIST_NORMAL = 0; | |
38 const int SCHED_TASKLIST_RENEW = 1; | |
39 | |
40 extern SchedTaskList* createSchedTaskList(uint32, Scheduler*, int); | |
41 | |
42 #endif | |
43 |