Mercurial > hg > Members > kono > Cerium
diff TaskManager/kernel/ppe/HTaskInfo.cc @ 641:0692b08f1cd6
Regression on Mac OS X
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 21 Nov 2009 10:06:34 +0900 |
parents | d433fc37587d |
children | bffdede05f1e |
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/HTaskInfo.cc Fri Nov 20 23:12:34 2009 +0900 +++ b/TaskManager/kernel/ppe/HTaskInfo.cc Sat Nov 21 10:06:34 2009 +0900 @@ -85,9 +85,13 @@ HTaskInfo::create(int cmd, memaddr rbuf, int rs, memaddr wbuf, int ws) { HTaskPtr task = create(cmd); +#ifdef SIMPLE_TASK task->set_input(rbuf, rs); task->set_output(wbuf, ws); return task; +#else + return 0; +#endif }