Mercurial > hg > Members > kono > Cerium
view TaskManager/kernel/ppe/TaskList.h @ 703:61b59376aec5
compatibility
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2009 18:34:46 +0900 |
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