# HG changeset patch # User Yuhi TOMARI # Date 1386755346 -32400 # Node ID b0bd89171162ed9a027782c3b5905ff6297cafe9 # Parent 138e7edff3ae26f3d37478fdaf0c248ac1e7b22a Minor fix diff -r 138e7edff3ae -r b0bd89171162 TaskManager/kernel/schedule/SchedTask.cc --- a/TaskManager/kernel/schedule/SchedTask.cc Wed Dec 11 18:42:34 2013 +0900 +++ b/TaskManager/kernel/schedule/SchedTask.cc Wed Dec 11 18:49:06 2013 +0900 @@ -82,7 +82,7 @@ inListData.size = atask->inData_total_size(); inListData.element = atask->inData(0); if (inListData.length>DefaultBoundSize) - inListData.bound = (int*)manager->allocate(inListData.length*sizeof(int)); + inListData.bound = (long*)manager->allocate(inListData.length*sizeof(int)); // load Input Data // inListData.print(); readbuf = connector->dma_loadList(scheduler, &inListData, (DMA_READ + this->tag)); @@ -99,7 +99,7 @@ outListData.element = atask->outData(0); // if (outListData.bound!=dout) free(outListData.bound); if (outListData.length>DefaultBoundSize) - outListData.bound = (int*)manager->allocate(outListData.length*sizeof(int)); + outListData.bound = (long*)manager->allocate(outListData.length*sizeof(int)); connector->bound(&outListData); writebuf = connector->get_writebuf(scheduler, (memaddr)outListData.element[0].addr, outListData.size); } diff -r 138e7edff3ae -r b0bd89171162 TaskManager/kernel/schedule/SchedTaskBase.h --- a/TaskManager/kernel/schedule/SchedTaskBase.h Wed Dec 11 18:42:34 2013 +0900 +++ b/TaskManager/kernel/schedule/SchedTaskBase.h Wed Dec 11 18:49:06 2013 +0900 @@ -113,8 +113,8 @@ long x,y,z; #define DefaultBoundSize (8) - int din[DefaultBoundSize]; - int dout[DefaultBoundSize]; + long din[DefaultBoundSize]; + long dout[DefaultBoundSize]; /* system call */