comparison TaskManager/kernel/schedule/SchedTaskBase.h @ 1213:a49c02dffe6f draft

DMA connector reogranization
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 22 Jul 2011 13:25:30 +0900
parents 801d57ae1e29
children ff721740df6b
comparison
equal deleted inserted replaced
1212:4fc9a9a6089d 1213:a49c02dffe6f
55 virtual void mainMem_alloc(int id, int size) {} 55 virtual void mainMem_alloc(int id, int size) {}
56 virtual void mainMem_wait() {} 56 virtual void mainMem_wait() {}
57 virtual memaddr mainMem_get(int id) {return 0; } 57 virtual memaddr mainMem_get(int id) {return 0; }
58 58
59 virtual MemorySegment * get_segment(memaddr addr, MemList *m) {return 0; } 59 virtual MemorySegment * get_segment(memaddr addr, MemList *m) {return 0; }
60 virtual uint32 get_tag() {return 0; }
61 virtual void put_segment(MemorySegment *s) {} 60 virtual void put_segment(MemorySegment *s) {}
62 virtual void wait_segment(MemorySegment *s) {} 61 virtual void wait_segment(MemorySegment *s) {}
63 62
64 virtual void *allocate(int size) {return 0; } 63 virtual void *allocate(int size) {return 0; }
65 virtual void free_(void *p) {} 64 virtual void free_(void *p) {}
84 83
85 // Task を実行するスケジューラ自身 84 // Task を実行するスケジューラ自身
86 Scheduler *scheduler; 85 Scheduler *scheduler;
87 // Task を作成管理するマネージャー 86 // Task を作成管理するマネージャー
88 TaskManagerImpl *manager; 87 TaskManagerImpl *manager;
88 DmaManager* connector;
89 89
90 SimpleTaskPtr task; 90 SimpleTaskPtr task;
91 TaskPtr atask; 91 TaskPtr atask;
92 SchedTaskBase *savedTask; 92 SchedTaskBase *savedTask;
93 93