Mercurial > hg > Game > Cerium
view TaskManager/kernel/schedule/SchedMail.cc @ 1464:3f2230d79eba draft
TaskList no compile errors
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Jul 2012 21:16:27 +0900 |
parents | 44d9b08519e0 |
children | f82bb7393c4d |
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; memaddr params_addr = connector->task_list_mail_read(); __debug("[SchedMail:%s]\n", __FUNCTION__); if (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); } }