Mercurial > hg > Members > kono > Cerium
diff TaskManager/kernel/ppe/HTaskInfo.cc @ 713:f725c6455d19
remove SIMPLE_TASK conditional
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 16 Dec 2009 15:27:46 +0900 |
parents | e4d2b823903c |
children | c42cab5ad4c3 |
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/HTaskInfo.cc Wed Dec 16 09:39:24 2009 +0900 +++ b/TaskManager/kernel/ppe/HTaskInfo.cc Wed Dec 16 15:27:46 2009 +0900 @@ -64,15 +64,9 @@ q->waiter = NULL; q->command = cmd; -#ifndef SIMPLE_TASK - q->inData.clear(); - q->outData.clear(); - q->param_count = 0; -#else q->param_index = 0; q->in_index = 0; q->out_index = 0; -#endif q->self = (memaddr) q; q->post_func = NULL; @@ -88,15 +82,10 @@ HTaskPtr HTaskInfo::create(int cmd, memaddr rbuf, int rs, memaddr wbuf, int ws) { -#ifdef SIMPLE_TASK HTaskPtr task = create(cmd); task->set_input(rbuf, rs); task->set_output(wbuf, ws); return task; -#else - fprintf(stderr, "TaskManager is not SIMPLE_TASK mode\n"); - return 0; -#endif }