Mercurial > hg > Game > Cerium
diff TaskManager/kernel/ppe/HTask.cc @ 1467:d585a7614cd5 draft
look like working now.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 15 Jul 2012 17:33:50 +0900 |
parents | cb57420a8219 |
children | 840dee241530 |
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/HTask.cc Sun Jul 15 13:36:55 2012 +0900 +++ b/TaskManager/kernel/ppe/HTask.cc Sun Jul 15 17:33:50 2012 +0900 @@ -91,6 +91,7 @@ bzero(tl->tasks,sizeof(Task)*TASK_MAX_SIZE); Task *task = tl->tasks; task->init(id, num_param,num_inData,num_outData); + last = task->next(); return task; // first task } @@ -137,7 +138,6 @@ rbuf = (memaddr)tl; } next->init(id, param_count, inData_count, outData_count); - last = next->next(); return next; }