Mercurial > hg > Game > Cerium
view TaskManager/kernel/schedule/SchedMail.cc @ 1214:44d9b08519e0 draft
sched task fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 22 Jul 2011 15:32:41 +0900 |
parents | a49c02dffe6f |
children | 3f2230d79eba |
line wrap: on
line source
#include "SchedMail.h" #include "SchedTaskList.h" #include "SchedExit.h" #include "error.h" SchedTaskBase* SchedMail::next(Scheduler *scheduler, SchedTaskBase *p) { connector = scheduler->connector; params_addr = connector->task_list_mail_read(); __debug("[SchedMail:%s]\n", __FUNCTION__); if ((memaddr)params_addr == (memaddr)MY_SPE_COMMAND_EXIT) { return new SchedExit(); } else { int dma_tag_switch = 0; return new SchedTaskList(params_addr, scheduler, dma_tag_switch); } }