comparison include/TaskManager/SchedTask.h @ 194:72dcf908ec52

fix
author gongo@localhost.localdomain
date Tue, 20 Jan 2009 14:50:41 +0900
parents 907bda4a1a14
children fe2cc32cd94d
comparison
equal deleted inserted replaced
193:102dad2949a0 194:72dcf908ec52
112 void ex_write_renew(void); 112 void ex_write_renew(void);
113 SchedTaskBase* ex_next_renew(void); 113 SchedTaskBase* ex_next_renew(void);
114 114
115 115
116 //--- User API --- 116 //--- User API ---
117 int get_cpuid(void);
118
117 void* get_input(void *buff, int index); 119 void* get_input(void *buff, int index);
118 void* get_output(void *buff, int index); 120 void* get_output(void *buff, int index);
119 uint32 get_inputAddr(int index); 121 uint32 get_inputAddr(int index);
120 uint32 get_outputAddr(int index); 122 uint32 get_outputAddr(int index);
121 int get_inputSize(int index); 123 int get_inputSize(int index);
147 149
148 BASE_NEW_DELETE(STaskManager); 150 BASE_NEW_DELETE(STaskManager);
149 151
150 SchedTask *outer; 152 SchedTask *outer;
151 153
154 int get_cpuid(void) {
155 return outer->get_cpuid();
156 }
157
152 void* get_input(int index) { 158 void* get_input(int index) {
153 return outer->get_input(outer->__readbuf, index); 159 return outer->get_input(outer->__readbuf, index);
154 } 160 }
155 161
156 void* get_output(int index) { 162 void* get_output(int index) {