Mercurial > hg > Game > Cerium
diff TaskManager/kernel/schedule/SchedTaskList.cc @ 1213:a49c02dffe6f draft
DMA connector reogranization
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 22 Jul 2011 13:25:30 +0900 |
parents | 811cdd0fd418 |
children | 44d9b08519e0 |
line wrap: on
line diff
--- a/TaskManager/kernel/schedule/SchedTaskList.cc Fri Jul 22 08:50:04 2011 +0900 +++ b/TaskManager/kernel/schedule/SchedTaskList.cc Fri Jul 22 13:25:30 2011 +0900 @@ -26,7 +26,7 @@ scheduler = sched; cur_index = 0; list = scheduler->get_curListBuf(); - scheduler->dma_load(list, params_addr, + connector->dma_load(scheduler, list, params_addr, sizeof(TaskList), DMA_READ_TASKLIST); this->tag = tag; @@ -40,7 +40,7 @@ // next() で TaskListの中身を見られてしまうので、 // ここで DMA 待ちを行う __debug("[SchedTaskList:%s]\n", __FUNCTION__); - scheduler->dma_wait(DMA_READ_TASKLIST); + connector->dma_wait(DMA_READ_TASKLIST); } void