Mercurial > hg > Members > kono > Cerium
view TaskManager/kernel/ppe/TaskList.h @ 648:f1e10ba45d28
Mail modification. Working on Mac OS X.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 21 Nov 2009 20:14:45 +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