Mercurial > hg > Members > kono > Cerium
view include/TaskManager/SpeTask.h @ 68:35a6cf176c38
*** empty log message ***
author | chiaki |
---|---|
date | Sun, 17 Feb 2008 21:45:07 +0900 |
parents | 7aa4c006e4be |
children |
line wrap: on
line source
#ifndef INCLUDED_SPE_TASK #define INCLUDED_SPE_TASK #ifndef INCLUDED_SPE_MANAGER # include "SpeManager.h" #endif class SpeTask : public SpeTaskBase { public: /* constructor */ SpeTask(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 */ SpeTaskBase* next(SpeManager *, SpeTaskBase *); // override void read(void); void exec(void); void write(void); }; #endif