Mercurial > hg > Members > kono > Cerium
view include/TaskManager/SpeTask.h @ 70:178459e03f5c
*** empty log message ***
author | gongo |
---|---|
date | Mon, 18 Feb 2008 01:13:00 +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