Mercurial > hg > Members > koba > t_dandy
changeset 22:0440f2f19f23
not working.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 26 Dec 2010 22:54:11 +0900 |
parents | 5f1abbe03b9a |
children | a0ab0c6925bd |
files | ppe/task_base.h ppe/task_init.cc |
diffstat | 2 files changed, 24 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ppe/task_base.h Sun Dec 26 22:54:11 2010 +0900 @@ -0,0 +1,12 @@ +#ifndef INCLUDE_TASK_BASE +#define INCLUDE_TASK_BASE + +#ifndef INCLUDE_FUNC +#include "../Func.h" +#endif + +#ifndef INCLUDED_SCHED_TASK +#include "SchedTask.h" +#endif + +#endif
--- a/ppe/task_init.cc Sun Dec 26 22:28:18 2010 +0900 +++ b/ppe/task_init.cc Sun Dec 26 22:54:11 2010 +0900 @@ -3,18 +3,19 @@ /* 必ずこの位置に書いて */ SchedExternTask(Atari); -SchedExternTask(STATE0); -SchedExternTask(STATE1); -SchedExternTask(STATE2); + +SchedExternTask(State0); +SchedExternTask(State1); +SchedExternTask(State2); -SchedExternTask(STATE4); -SchedExternTask(STATE5); -SchedExternTask(STATE6); +SchedExternTask(State4); +SchedExternTask(State5); +SchedExternTask(State6); -SchedExternTask(STATE20); -SchedExternTask(STATE21); +SchedExternTask(State20); +SchedExternTask(State21); -SchedExternTask(STATE30); +SchedExternTask(State30); /** * この関数は ../spe/spe-main と違って * 自分で呼び出せばいい関数なので @@ -24,6 +25,7 @@ task_init(void) { SchedRegisterTask(ATARI, Atari); + SchedRegisterTask(STATE0, State0); SchedRegisterTask(STATE1, State1); SchedRegisterTask(STATE2, State2); @@ -34,5 +36,6 @@ SchedRegisterTask(STATE20, State20); SchedRegisterTask(STATE21, State21); + SchedRegisterTask(STATE30, State30); }