comparison include/TaskManager/SpeTaskList.h @ 31:6a77b5e755ab

*** empty log message ***
author gongo
date Tue, 12 Feb 2008 13:56:54 +0900
parents 2356238ebea7
children
comparison
equal deleted inserted replaced
30:bd5fc2e3f8c7 31:6a77b5e755ab
2 #define INCLUDED_SPE_TASKLIST 2 #define INCLUDED_SPE_TASKLIST
3 3
4 #ifndef INCLUDED_SPE_MANAGER 4 #ifndef INCLUDED_SPE_MANAGER
5 # include "SpeManager.h" 5 # include "SpeManager.h"
6 #endif 6 #endif
7
8 #include "error.h"
7 9
8 class SpeTaskList : public SpeTaskBase { 10 class SpeTaskList : public SpeTaskBase {
9 public: 11 public:
10 /* constructor */ 12 /* constructor */
11 SpeTaskList(unsigned int addr, TaskListPtr list, DmaManager* c); 13 SpeTaskList(unsigned int addr, TaskListPtr list, DmaManager* c);
18 /* functions */ 20 /* functions */
19 SpeTaskBase* next(SpeManager *, SpeTaskBase *); 21 SpeTaskBase* next(SpeManager *, SpeTaskBase *);
20 22
21 /* override functions */ 23 /* override functions */
22 void read(void); 24 void read(void);
23 void exec(void);
24 25
25 #ifdef DEBUG 26 #ifdef DEBUG
26 void write(void); 27 void exec(void) { __debug("[SpeTaskList:%s]\n", __FUNCTION__); }
28 void write(void) { __debug("[SpeTaskList:%s]\n", __FUNCTION__); }
27 #endif 29 #endif
28 30
29 }; 31 };
30 32
31 //extern void get_task_list(); 33 //extern void get_task_list();