Mercurial > hg > Game > Cerium
changeset 711:090549a498b2 draft
dma wait timing in SchedTaskArrayLoad
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 16 Dec 2009 09:38:48 +0900 |
parents | bb17841b32ec |
children | 8476791e2905 |
files | TaskManager/kernel/schedule/SchedTaskArrayLoad.cc |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/kernel/schedule/SchedTaskArrayLoad.cc Tue Dec 15 10:54:28 2009 +0900 +++ b/TaskManager/kernel/schedule/SchedTaskArrayLoad.cc Wed Dec 16 09:38:48 2009 +0900 @@ -23,7 +23,10 @@ } void -SchedTaskArrayLoad::exec() {} // to empty the pipeline +SchedTaskArrayLoad::exec() { + // もっと、はやめに DMA_READ して、最初のcodeをloadするべきか? + scheduler->dma_wait(DMA_READ); +} // to empty the pipeline void SchedTaskArrayLoad::write() {} // to empty the pipeline @@ -31,8 +34,6 @@ 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); }