Mercurial > hg > Members > kono > Cerium
diff TaskManager/kernel/spe/SpeTaskList.cc @ 10:7aa4c006e4be
*** empty log message ***
author | gongo |
---|---|
date | Wed, 06 Feb 2008 18:31:30 +0900 |
parents | 2356238ebea7 |
children | 6a77b5e755ab |
line wrap: on
line diff
--- a/TaskManager/kernel/spe/SpeTaskList.cc Wed Feb 06 18:31:30 2008 +0900 +++ b/TaskManager/kernel/spe/SpeTaskList.cc Wed Feb 06 18:31:30 2008 +0900 @@ -47,7 +47,11 @@ if (list->length < 1) { return new SpeNop2Ready(connector); } else { - return new SpeTask(list, m->get_curReadBuf(), - m->get_curWriteBuf(), connector); + // 本当は、ここで task->command に対応する、 + // SpeTask を継承する class を作ればいい。。。はず + return new SpeTask(list, &list->tasks[--list->length], + m->get_curReadBuf(), + m->get_curWriteBuf(), + connector); } }