Mercurial > hg > Game > Cerium
comparison TaskManager/kernel/schedule/SchedTaskList.cc @ 1467:d585a7614cd5 draft
look like working now.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 15 Jul 2012 17:33:50 +0900 |
parents | cb57420a8219 |
children | f82bb7393c4d |
comparison
equal
deleted
inserted
replaced
1466:cb57420a8219 | 1467:d585a7614cd5 |
---|---|
25 scheduler = sched; | 25 scheduler = sched; |
26 list = scheduler->get_curListBuf(); | 26 list = scheduler->get_curListBuf(); |
27 connector = scheduler->connector; | 27 connector = scheduler->connector; |
28 list = (TaskListPtr)connector->dma_load1(list, params_addr, | 28 list = (TaskListPtr)connector->dma_load1(list, params_addr, |
29 sizeof(TaskList), DMA_READ_TASKLIST); | 29 sizeof(TaskList), DMA_READ_TASKLIST); |
30 cur_index = list->tasks; | 30 cur_index = 0; |
31 | 31 |
32 this->tag = tag; | 32 this->tag = tag; |
33 | 33 |
34 } | 34 } |
35 | 35 |
50 void | 50 void |
51 SchedTaskList::write() | 51 SchedTaskList::write() |
52 { | 52 { |
53 } | 53 } |
54 | 54 |
55 /** | |
56 * next は、SchedTask のものが使われる。 | |
57 * それで正しく動くはず。 | |
58 * | |
59 * next() が呼ばれた時点で、TaskList のloadが終了しているように工夫する。 | |
60 * | |
61 */ | |
62 | 55 |
63 /* end */ | 56 /* end */ |