Mercurial > hg > Members > koba > t_dandy
view ppe/task_init.cc @ 37:6989f8cb0259
fix.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 09 Jan 2011 23:14:26 +0900 |
parents | c122e3d2302e |
children | 3acdeb3dc3e8 |
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(State7); SchedExternTask(State8); SchedExternTask(State9); SchedExternTask(State10); SchedExternTask(State11); SchedExternTask(State12); SchedExternTask(State13); SchedExternTask(State20); SchedExternTask(State21); SchedExternTask(State22); SchedExternTask(State25); SchedExternTask(State26); SchedExternTask(State27); SchedExternTask(State28); SchedExternTask(State29); SchedExternTask(State30); SchedExternTask(State31); SchedExternTask(State32); SchedExternTask(State33); SchedExternTask(State34); SchedExternTask(State35); SchedExternTask(State40); SchedExternTask(State41); SchedExternTask(State400); SchedExternTask(State401); SchedExternTask(State402); SchedExternTask(State411); SchedExternTask(State500); SchedExternTask(State501); SchedExternTask(State600); SchedExternTask(State601); SchedExternTask(State602); SchedExternTask(Asteroid); /** * この関数は ../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(STATE7, State7); SchedRegisterTask(STATE8, State8); SchedRegisterTask(STATE9, State9); SchedRegisterTask(STATE10, State10); SchedRegisterTask(STATE11, State11); SchedRegisterTask(STATE12, State12); SchedRegisterTask(STATE13, State13); SchedRegisterTask(STATE20, State20); SchedRegisterTask(STATE21, State21); SchedRegisterTask(STATE22, State22); SchedRegisterTask(STATE25, State25); SchedRegisterTask(STATE26, State26); SchedRegisterTask(STATE27, State27); SchedRegisterTask(STATE28, State28); SchedRegisterTask(STATE29, State29); SchedRegisterTask(STATE30, State30); SchedRegisterTask(STATE31, State31); SchedRegisterTask(STATE32, State32); SchedRegisterTask(STATE33, State33); SchedRegisterTask(STATE34, State34); SchedRegisterTask(STATE35, State35); SchedRegisterTask(STATE40, State40); SchedRegisterTask(STATE41, State41); SchedRegisterTask(STATE400, State400); SchedRegisterTask(STATE401, State401); SchedRegisterTask(STATE402, State402); SchedRegisterTask(STATE411, State411); SchedRegisterTask(STATE500, State500); SchedRegisterTask(STATE501, State501); SchedRegisterTask(STATE600, State600); SchedRegisterTask(STATE601, State601); SchedRegisterTask(STATE602, State602); SchedRegisterTask(ASTEROID_TASK, Asteroid); }