Mercurial > hg > Members > kono > Cerium
diff include/TaskManager/SchedNop2Ready.h @ 42:aa11038dbdc1
*** empty log message ***
author | gongo |
---|---|
date | Thu, 14 Feb 2008 18:27:37 +0900 |
parents | |
children | 5c194c71eca8 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/TaskManager/SchedNop2Ready.h Thu Feb 14 18:27:37 2008 +0900 @@ -0,0 +1,36 @@ +#ifndef INCLUDED_SCHED_NOP2READY +#define INCLUDED_SCHED_NOP2READY + +#ifndef INCLUDED_SCHEDULER +# include "Scheduler.h" +#endif + +#ifndef INCLUDED_SCHED_TASK_BASE +# include "SchedTaskBase.h" +#endif + +#ifndef INCLUDED_SCHED_NOP +# include "SchedNop.h" +#endif + +#include "error.h" + +class SchedNop2Ready : public SchedNop { +public: + /* constructor */ + SchedNop2Ready(DmaManager*); + + /* variables */ + DmaManager* connector; + + /* functions */ + void exec(void); + SchedTaskBase* next(Scheduler *, SchedTaskBase *); + +#if DEBUG + void read(void) { __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); } + void write(void) { __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); } +#endif +}; + +#endif