Mercurial > hg > Members > kono > Cerium
view include/TaskManager/SchedTask.h @ 70:178459e03f5c
*** empty log message ***
author | gongo |
---|---|
date | Mon, 18 Feb 2008 01:13:00 +0900 |
parents | aa11038dbdc1 |
children | 14a5ca0be17e |
line wrap: on
line source
#ifndef INCLUDED_SCHED_TASK #define INCLUDED_SCHED_TASK #ifndef INCLUDED_SCHEDULER # include "Scheduler.h" #endif #ifndef INCLUDED_SCHED_TASK_BASE # include "SchedTaskBase.h" #endif class SchedTask : public SchedTaskBase { public: /* constructor */ SchedTask(TaskListPtr, TaskPtr, void*, void*, DmaManager*); /* variables */ TaskListPtr list; TaskPtr task; void *readbuf; void *writebuf; DmaManager* connector; // work area // global variable 用とか // 次の task に引き渡したり // size : デフォルトで 4k // ppuから教えてもらう? task に入れる void (*func)(void *wbuf, void *rbuf); /* functions */ SchedTaskBase* next(Scheduler *, SchedTaskBase *); // override void read(void); void exec(void); void write(void); }; #endif