comparison TaskManager/kernel/schedule/SchedTaskArray.cc @ 701:226d95fa2691 TaskArray

Bulk task worked on Mac OS X
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 14 Dec 2009 12:46:48 +0900
parents d3afc8777daa
children 61b59376aec5
comparison
equal deleted inserted replaced
700:d3afc8777daa 701:226d95fa2691
54 inListData.element = task->inData(0); 54 inListData.element = task->inData(0);
55 inListData.bound = (int*)scheduler->allocate(inListData.length*sizeof(int)); 55 inListData.bound = (int*)scheduler->allocate(inListData.length*sizeof(int));
56 56
57 // load Input Data 57 // load Input Data
58 readbuf = scheduler->allocate(inListData.size); 58 readbuf = scheduler->allocate(inListData.size);
59 inListData.print(); 59 // inListData.print();
60 scheduler->dma_loadList(&inListData, readbuf, DMA_READ); 60 scheduler->dma_loadList(&inListData, readbuf, DMA_READ);
61 bound(&inListData); 61 bound(&inListData);
62 62
63 } 63 }
64 64
85 // 書き込む領域がなければ無視 85 // 書き込む領域がなければ無視
86 86
87 // User 側で作る方法が必要... 87 // User 側で作る方法が必要...
88 88
89 if (task->outData_count > 0) { 89 if (task->outData_count > 0) {
90 outListData.print(); 90 // outListData.print();
91 scheduler->dma_storeList(&outListData, writebuf, DMA_WRITE); 91 scheduler->dma_storeList(&outListData, writebuf, DMA_WRITE);
92 } 92 }
93 } 93 }
94 94
95 void 95 void