Mercurial > hg > Members > kono > Cerium
diff TaskManager/Cell/CellTaskManagerImpl.cc @ 617:4cfcac2367d5
bug fix
author | tkaito@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Sat, 14 Nov 2009 22:10:31 +0900 |
parents | 1d4a8a86f26b |
children | 55ed910d13c2 |
line wrap: on
line diff
--- a/TaskManager/Cell/CellTaskManagerImpl.cc Thu Nov 12 17:06:49 2009 +0900 +++ b/TaskManager/Cell/CellTaskManagerImpl.cc Sat Nov 14 22:10:31 2009 +0900 @@ -217,7 +217,7 @@ //__debug_ppe("[PPE] MALLOCED 0x%x from [SPE %d]\n", alloc_info[1],id); speThreads->add_output_tasklist(command, alloc_info[1], alloc_size); - speThreads->send_mail(id, 2, alloc_info); + speThreads->send_mail(id, 2, (memaddr *)alloc_info); } else if (data > MY_SPE_NOP) { //__debug_ppe("[PPE] recv from [SPE %d] : 0x%x\n", id, data); check_task_finish((HTaskPtr)data); @@ -268,7 +268,8 @@ taskListImpl->clear_taskList(speTaskList_bg[id]); - speThreads->send_mail(id, 1, (unsigned int *)&speTaskList[id]); + //speThreads->send_mail(id, 1, (unsigned int *)&speTaskList[id]); + speThreads->send_mail(id, 1, (memaddr *)&speTaskList[id]); flag_sendTaskList[id] = 0; }