Mercurial > hg > Members > kono > Cerium
changeset 709:8ab63ded2c3f
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 15 Dec 2009 10:54:28 +0900 |
parents | 56487849ea2d |
children | 8ac82344727a 4c6bda4e474a |
files | TaskManager/kernel/schedule/SchedTaskArrayLoad.cc TaskManager/kernel/schedule/SchedTaskList.cc |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/kernel/schedule/SchedTaskArrayLoad.cc Tue Dec 15 10:49:30 2009 +0900 +++ b/TaskManager/kernel/schedule/SchedTaskArrayLoad.cc Tue Dec 15 10:54:28 2009 +0900 @@ -31,6 +31,8 @@ SchedTaskBase* SchedTaskArrayLoad::next(Scheduler *scheduler, SchedTaskBase *p) { + // もっと、はやめに DMA_READ して、最初のcodeをloadするべきか? + scheduler->dma_wait(DMA_READ); Task *nextTask = (Task *)readbuf; return new SchedTaskArray(scheduler, savedTask, nextTask, nextTask); }
--- a/TaskManager/kernel/schedule/SchedTaskList.cc Tue Dec 15 10:49:30 2009 +0900 +++ b/TaskManager/kernel/schedule/SchedTaskList.cc Tue Dec 15 10:54:28 2009 +0900 @@ -34,9 +34,9 @@ { __debug("[SchedTaskList:%s]\n", __FUNCTION__); - list = scheduler->get_curListBuf(); - scheduler->dma_load(list, params_addr, - sizeof(TaskList), DMA_READ_TASKLIST); + list = scheduler->get_curListBuf(); + scheduler->dma_load(list, params_addr, + sizeof(TaskList), DMA_READ_TASKLIST); } void @@ -50,5 +50,8 @@ scheduler->dma_wait(DMA_READ_TASKLIST); } +/** + * next は、SchedTask のものが使われる。 + */ /* end */