Mercurial > hg > Game > Cerium
annotate Renderer/Engine/spe/DataLoad.cc @ 898:302ebfc75a79 draft
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 16 Jul 2010 19:00:49 +0900 |
parents | c3b4ddd4ccdc |
children |
rev | line source |
---|---|
749 | 1 #include <stdio.h> |
2 #include <string.h> | |
3 #include "DataLoad.h" | |
4 #include "Func.h" | |
5 | |
6 /* これは必須 */ | |
7 SchedDefineTask(DataLoad); | |
8 | |
9 static int | |
10 run(SchedTask *s, void *rbuf, void *wbuf) | |
11 { | |
12 | |
823 | 13 long size = (long)s->get_param(0); |
14 long load_id = (long)s->get_param(1); | |
749 | 15 |
16 s->global_alloc(load_id, size); | |
17 | |
18 return 0; | |
19 } | |
20 |