Mercurial > hg > Members > kono > Cerium
changeset 306:f8184487cf2c
remove unnecessary method delegate
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Jun 2009 19:22:27 +0900 |
parents | dc9d06c60899 |
children | 7075842aa155 |
files | include/TaskManager/SchedTask.h |
diffstat | 1 files changed, 0 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- a/include/TaskManager/SchedTask.h Mon Jun 08 18:36:06 2009 +0900 +++ b/include/TaskManager/SchedTask.h Mon Jun 08 19:22:27 2009 +0900 @@ -19,34 +19,6 @@ // それぞれのタスクに対応した処理を記述する virtual int run(void* r, void *w) { return 0;} - //--- User API --- - - int get_cpuid() {return SchedTaskImpl::get_cpuid();} - - void* get_input(void *buff, int index) {return SchedTaskImpl::get_input(buff,index);} - void* get_output(void *buff, int index) {return SchedTaskImpl::get_output(buff,index);} - uint32 get_inputAddr(int index) {return SchedTaskImpl::get_inputAddr(index);} - uint32 get_outputAddr(int index) {return SchedTaskImpl::get_outputAddr(index);} - int get_inputSize(int index) {return SchedTaskImpl::get_inputSize(index);} - int get_outputSize(int index) {return SchedTaskImpl::get_outputSize(index);} - int get_param(int index) {return SchedTaskImpl::get_param(index);} - - TaskPtr create_task(int cmd) {return SchedTaskImpl::create_task(cmd);} - void wait_task(TaskPtr waitTask) {SchedTaskImpl::wait_task(waitTask);} - - void* global_alloc(int id, int size) {return SchedTaskImpl::global_alloc(id,size);} - void* global_get(int id) {return SchedTaskImpl::global_get(id);} - void global_free(int id) {SchedTaskImpl::global_free(id);} - - void mainMem_alloc(int id, int size) {SchedTaskImpl::mainMem_alloc(id,size);} - void mainMem_wait() { SchedTaskImpl::mainMem_wait();} - void* mainMem_get(int id) {return SchedTaskImpl::mainMem_get(id);} - - void *allocate(int size) {return SchedTaskImpl::allocate(size);} - - void dma_load(void *buf, uint32 addr, uint32 size, uint32 mask) {SchedTaskImpl::dma_load(buf,addr,size,mask);} - void dma_store(void *buf,uint32 addr, uint32 size, uint32 mask) {SchedTaskImpl::dma_load(buf,addr,size,mask);} - void dma_wait(uint32 mask) {SchedTaskImpl::dma_wait(mask);} }; extern SchedTask* createSchedTask(TaskPtr);