Mercurial > hg > Members > kono > Cerium
diff TaskManager/kernel/schedule/SchedTask.h @ 696:b5c3ef336878
on going...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 13 Dec 2009 10:49:07 +0900 |
parents | cbcf0182635e |
children | 257ad1a518e3 |
line wrap: on
line diff
--- a/TaskManager/kernel/schedule/SchedTask.h Sat Dec 12 17:38:30 2009 +0900 +++ b/TaskManager/kernel/schedule/SchedTask.h Sun Dec 13 10:49:07 2009 +0900 @@ -31,12 +31,12 @@ #ifndef SIMPLE_TASK TaskPtr task; memaddr *param; +#else + SimpleTaskPtr task; +#endif // read/write 用の ListData ListDataPtr inListData; ListDataPtr outListData; -#else - SimpleTaskPtr task; -#endif /** * read データ、write 用のバッファ @@ -80,7 +80,7 @@ int read_size() { return task->r_size; } int write_size() { return task->w_size; } void set_write_size(int w) { task->w_size = w; } -#else +#endif void* get_input(void *buff, int index); void* get_output(void *buff, int index); memaddr get_inputAddr(int index); @@ -89,7 +89,6 @@ int get_inputSize(int index); int get_outputSize(int index); memaddr get_param(int index); -#endif int get_cpuid();