Mercurial > hg > Members > koba > t_dandy
view ppe/task_init.cc @ 25:ee4c488d48a3
add Puttama func.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 27 Dec 2010 02:35:06 +0900 |
parents | 0440f2f19f23 |
children | c4210c1053e8 |
line wrap: on
line source
#include "Func.h" #include "Scheduler.h" /* 必ずこの位置に書いて */ SchedExternTask(Atari); SchedExternTask(State0); SchedExternTask(State1); SchedExternTask(State2); SchedExternTask(State3); SchedExternTask(State4); SchedExternTask(State5); SchedExternTask(State6); SchedExternTask(State20); SchedExternTask(State21); SchedExternTask(State30); /** * この関数は ../spe/spe-main と違って * 自分で呼び出せばいい関数なので * 好きな関数名でおk (SchedRegisterTask は必須) */ void task_init(void) { SchedRegisterTask(ATARI, Atari); SchedRegisterTask(STATE0, State0); SchedRegisterTask(STATE1, State1); SchedRegisterTask(STATE2, State2); SchedRegisterTask(STATE3, State3); SchedRegisterTask(STATE4, State4); SchedRegisterTask(STATE5, State5); SchedRegisterTask(STATE6, State6); SchedRegisterTask(STATE20, State20); SchedRegisterTask(STATE21, State21); SchedRegisterTask(STATE30, State30); }