Mercurial > hg > Members > kono > Cerium
comparison TaskManager/kernel/schedule/SchedNop2Ready.cc @ 42:aa11038dbdc1
*** empty log message ***
author | gongo |
---|---|
date | Thu, 14 Feb 2008 18:27:37 +0900 |
parents | |
children | 5c194c71eca8 |
comparison
equal
deleted
inserted
replaced
41:68fb5bfee6b7 | 42:aa11038dbdc1 |
---|---|
1 #include <stdio.h> | |
2 #include "SchedNop2Ready.h" | |
3 #include "SchedMail.h" | |
4 #include "error.h" | |
5 | |
6 SchedNop2Ready::SchedNop2Ready(DmaManager *cn) | |
7 { | |
8 connector = cn; | |
9 } | |
10 | |
11 void | |
12 SchedNop2Ready::exec(void) | |
13 { | |
14 __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); | |
15 | |
16 connector->mail_write(MY_SPE_STATUS_READY); | |
17 } | |
18 | |
19 SchedTaskBase* | |
20 SchedNop2Ready::next(Scheduler *m, SchedTaskBase *p) | |
21 { | |
22 __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); | |
23 | |
24 delete p; | |
25 | |
26 return new SchedMail(connector); | |
27 } |