Mercurial > hg > Members > kono > Cerium
view TaskManager/kernel/ppe/TaskList.h @ 636:d433fc37587d
Cell Simple Task compiled. but not worked.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Nov 2009 19:09:40 +0900 (2009-11-18) |
parents | 0558abba673c |
children | f725c6455d19 |
line wrap: on
line source
#ifndef INCLUDED_TASKLIST #define INCLUDED_TASKLIST #include "base.h" #include "Task.h" #define TASK_MAX_SIZE 16 class TaskList { // 528byte public: BASE_NEW_DELETE(TaskList); int length; // 4 byte TaskList *next; // 4 byte #ifdef SIMPLE_TASK SimpleTask tasks[TASK_MAX_SIZE]; // 512 #else Task tasks[TASK_MAX_SIZE]; // 512 #endif TaskList *output; // 4 byte int a[1]; // padding }; typedef TaskList* TaskListPtr; #endif