Mercurial > hg > Game > Cerium
diff example/get_segment/spe/spe-main.cc @ 442:6c63423a7dea draft
hoge... size/count
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 25 Sep 2009 04:40:31 +0900 |
parents | 54c49df8dcda |
children | 433892ba596b |
line wrap: on
line diff
--- a/example/get_segment/spe/spe-main.cc Fri Sep 25 03:49:01 2009 +0900 +++ b/example/get_segment/spe/spe-main.cc Fri Sep 25 04:40:31 2009 +0900 @@ -1,6 +1,5 @@ #include "Func.h" #include "Scheduler.h" -#include "LoadEntry.h" #include "createTask_offset.h" @@ -18,7 +17,8 @@ { SchedRegisterDynamicTask(HELLO_TASK, Hello, 0); SchedRegisterDynamicTask(HELLO_TASK1, Hello1, 1); - scheduler->allocate_code_segment(4,1024); + createTask_Hello(scheduler); + scheduler->allocate_code_segment(1024,4); print_ovly_table(); }