diff TaskManager/kernel/schedule/SchedTaskList.cc @ 972:811cdd0fd418 draft

fix
author Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
date Fri, 27 Aug 2010 06:39:16 +0900
parents 1a4849b2acad
children a49c02dffe6f
line wrap: on
line diff
--- a/TaskManager/kernel/schedule/SchedTaskList.cc	Thu Aug 26 20:40:08 2010 +0900
+++ b/TaskManager/kernel/schedule/SchedTaskList.cc	Fri Aug 27 06:39:16 2010 +0900
@@ -19,7 +19,7 @@
  *            0: メインメモリ, 1: SPE
  */
 
-SchedTaskList::SchedTaskList(memaddr addr, Scheduler *sched)
+SchedTaskList::SchedTaskList(memaddr addr, Scheduler *sched, int tag)
 {
     // next() で生成された時に、Task List read を始める
     params_addr = addr;
@@ -29,6 +29,8 @@
     scheduler->dma_load(list, params_addr,
                         sizeof(TaskList), DMA_READ_TASKLIST);
 
+    this->tag = tag;
+
 }